|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IteratorFactory
Creates the iterators. Allows different implementations of iterators to be used.
Method Summary | |
---|---|
ClosableIterator<Triple> |
newEmptyClosableIterator()
Return an new EmptyClosableIterator - indicates no results found. |
ClosableIterator<Triple> |
newGraphIterator()
Return an new GraphIterator - result of an unconstrained find. |
ClosableIterator<Triple> |
newOneFixedIterator(Long fixedFirstNode,
int index)
Return a new FixedIterator - bound by one node. |
ClosableIterator<PredicateNode> |
newPredicateIterator()
Return a new PredicateIterator - all unique predicates. |
ClosableIterator<PredicateNode> |
newPredicateIterator(Long resource)
Return a new PredicateIterator - all unique predicates for a given resource (subject and object). |
ClosableIterator<Triple> |
newThreeFixedIterator(Long[] nodes)
Return a new FixedIterator - bound by three nodes. |
ClosableIterator<Triple> |
newTwoFixedIterator(Long fixedFirstNode,
Long fixedSecondNode,
int index)
Return a new FixedItereator - bound by two nodes. |
Method Detail |
---|
ClosableIterator<Triple> newEmptyClosableIterator()
ClosableIterator<Triple> newGraphIterator()
ClosableIterator<Triple> newOneFixedIterator(Long fixedFirstNode, int index)
fixedFirstNode
- the node to find.index
- which index (from the three) to use.
ClosableIterator<Triple> newTwoFixedIterator(Long fixedFirstNode, Long fixedSecondNode, int index)
fixedFirstNode
- the first node to find.fixedSecondNode
- the second node to find.index
- which index (from the three) to use.
ClosableIterator<Triple> newThreeFixedIterator(Long[] nodes)
nodes
- the triple to find.
ClosableIterator<PredicateNode> newPredicateIterator()
ClosableIterator<PredicateNode> newPredicateIterator(Long resource)
resource
- all unique predicate for a given resource.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |