org.jrdf.graph.mem.iterator
Class IteratorFactoryImpl
java.lang.Object
org.jrdf.graph.mem.iterator.IteratorFactoryImpl
- All Implemented Interfaces:
- IteratorFactory
public final class IteratorFactoryImpl
- extends Object
- implements IteratorFactory
Default implementation of the IteratorFactory. Simply uses the normal iterators and an in memory backend.
- Version:
- $Id: IteratorFactoryImpl.java 1045 2007-01-05 04:56:09Z newmana $
- Author:
- Andrew Newman
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IteratorFactoryImpl
public IteratorFactoryImpl(LongIndex[] longIndexes,
GraphHandler[] graphHandlers)
newEmptyClosableIterator
public ClosableMemIterator<Triple> newEmptyClosableIterator()
- Specified by:
newEmptyClosableIterator
in interface IteratorFactory
newGraphIterator
public ClosableMemIterator<Triple> newGraphIterator()
- Specified by:
newGraphIterator
in interface IteratorFactory
newOneFixedIterator
public ClosableMemIterator<Triple> newOneFixedIterator(Long fixedFirstNode,
int index)
- Specified by:
newOneFixedIterator
in interface IteratorFactory
newTwoFixedIterator
public ClosableMemIterator<Triple> newTwoFixedIterator(Long fixedFirstNode,
Long fixedSecondNode,
int index)
- Specified by:
newTwoFixedIterator
in interface IteratorFactory
newThreeFixedIterator
public ClosableMemIterator<Triple> newThreeFixedIterator(Long[] newNodes)
- Specified by:
newThreeFixedIterator
in interface IteratorFactory