public class ElementTriplesBlock extends Element implements TripleCollectorMark
Constructor and Description |
---|
ElementTriplesBlock() |
ElementTriplesBlock(BasicPattern bgp) |
Modifier and Type | Method and Description |
---|---|
void |
addTriple(int index,
Triple t) |
void |
addTriple(Triple t) |
void |
addTriplePath(int index,
TriplePath path) |
void |
addTriplePath(TriplePath path) |
boolean |
equalTo(Element el2,
NodeIsomorphismMap isoMap) |
BasicPattern |
getPattern() |
int |
hashCode() |
boolean |
isEmpty() |
int |
mark() |
Iterator<Triple> |
patternElts() |
void |
visit(ElementVisitor v) |
public ElementTriplesBlock()
public ElementTriplesBlock(BasicPattern bgp)
public boolean isEmpty()
public void addTriple(Triple t)
addTriple
in interface TripleCollector
public int mark()
mark
in interface TripleCollectorMark
public void addTriple(int index, Triple t)
addTriple
in interface TripleCollectorMark
public void addTriplePath(TriplePath path)
addTriplePath
in interface TripleCollector
public void addTriplePath(int index, TriplePath path)
addTriplePath
in interface TripleCollectorMark
public BasicPattern getPattern()
public boolean equalTo(Element el2, NodeIsomorphismMap isoMap)
public void visit(ElementVisitor v)
Licenced under the Apache License, Version 2.0