Class ElementGroup

java.lang.Object
org.apache.jena.sparql.syntax.Element
org.apache.jena.sparql.syntax.ElementGroup

public class ElementGroup extends Element
A number of graph query elements. Evaluation is a conjunction(AND) of the elements of the groups
  • Constructor Details

    • ElementGroup

      public ElementGroup()
  • Method Details

    • addElement

      public void addElement(Element el)
    • addTriplePattern

      public void addTriplePattern(org.apache.jena.graph.Triple t)
    • addElementFilter

      public void addElementFilter(ElementFilter el)
    • mark

      public int mark()
    • getElements

      public List<Element> getElements()
    • isEmpty

      public boolean isEmpty()
    • size

      public int size()
    • get

      public Element get(int idx)
    • getLast

      public Element getLast()
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class Element
    • equalTo

      public boolean equalTo(Element el2, NodeIsomorphismMap isoMap)
      Specified by:
      equalTo in class Element
    • visit

      public void visit(ElementVisitor v)
      Specified by:
      visit in class Element