java.lang.Object
org.apache.jena.sparql.syntax.Element
org.apache.jena.sparql.syntax.ElementTriplesBlock
- All Implemented Interfaces:
TripleCollector,TripleCollectorMark
The syntax element for a SPARQL BasicGraphPattern (SPARQL 1.0)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTriple(int index, org.apache.jena.graph.Triple t) voidaddTriple(org.apache.jena.graph.Triple t) voidaddTriplePath(int index, TriplePath path) voidaddTriplePath(TriplePath path) booleanequalTo(Element el2, NodeIsomorphismMap isoMap) inthashCode()booleanisEmpty()intmark()Iterator<org.apache.jena.graph.Triple>void
-
Constructor Details
-
ElementTriplesBlock
public ElementTriplesBlock() -
ElementTriplesBlock
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
addTriple
public void addTriple(org.apache.jena.graph.Triple t) - Specified by:
addTriplein interfaceTripleCollector
-
mark
public int mark()- Specified by:
markin interfaceTripleCollector
-
addTriple
public void addTriple(int index, org.apache.jena.graph.Triple t) - Specified by:
addTriplein interfaceTripleCollector
-
addTriplePath
- Specified by:
addTriplePathin interfaceTripleCollector
-
addTriplePath
- Specified by:
addTriplePathin interfaceTripleCollector
-
getPattern
-
patternElts
-
hashCode
public int hashCode() -
equalTo
-
visit
-