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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTriple
(int index, org.apache.jena.graph.Triple t) void
addTriple
(org.apache.jena.graph.Triple t) void
addTriplePath
(int index, TriplePath path) void
addTriplePath
(TriplePath path) boolean
equalTo
(Element el2, NodeIsomorphismMap isoMap) int
hashCode()
boolean
isEmpty()
int
mark()
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:
addTriple
in interfaceTripleCollector
-
mark
public int mark()- Specified by:
mark
in interfaceTripleCollectorMark
-
addTriple
public void addTriple(int index, org.apache.jena.graph.Triple t) - Specified by:
addTriple
in interfaceTripleCollectorMark
-
addTriplePath
- Specified by:
addTriplePath
in interfaceTripleCollector
-
addTriplePath
- Specified by:
addTriplePath
in interfaceTripleCollectorMark
-
getPattern
-
patternElts
-
hashCode
public int hashCode() -
equalTo
-
visit
-