Package org.apache.jena.sparql.syntax
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 Summary
Constructors Constructor Description ElementGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addElement(Element el)
void
addElementFilter(ElementFilter el)
void
addTriplePattern(Triple t)
boolean
equalTo(Element el2, NodeIsomorphismMap isoMap)
Element
get(int idx)
java.util.List<Element>
getElements()
Element
getLast()
int
hashCode()
boolean
isEmpty()
int
mark()
int
size()
void
visit(ElementVisitor v)
-
-
-
Method Detail
-
addElement
public void addElement(Element el)
-
addTriplePattern
public void addTriplePattern(Triple t)
-
addElementFilter
public void addElementFilter(ElementFilter el)
-
mark
public int mark()
-
getElements
public java.util.List<Element> getElements()
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
get
public Element get(int idx)
-
getLast
public Element getLast()
-
equalTo
public boolean equalTo(Element el2, NodeIsomorphismMap isoMap)
-
visit
public void visit(ElementVisitor v)
-
-