org.jrdf.graph.global.molecule
Class MoleculeIteratorFactoryImpl

java.lang.Object
  extended by org.jrdf.graph.global.molecule.MoleculeIteratorFactoryImpl
All Implemented Interfaces:
MoleculeIteratorFactory

public class MoleculeIteratorFactoryImpl
extends Object
implements MoleculeIteratorFactory


Constructor Summary
MoleculeIteratorFactoryImpl(MoleculeIndex[] indexes)
           
 
Method Summary
 ClosableIterator<PredicateNode> findUniquePredicates(Resource resource)
           
 ClosableIterator<BlankNode> getBlankNodes()
           
 ClosableIterator<Resource> getResources()
           
 ClosableIterator<PredicateNode> getUniquePredicates()
           
 ClosableIterator<URIReference> getURIReferences()
           
 ClosableIterator<Molecule> globalizedGraphIterator()
           
 ClosableIterator<Molecule> newOneFixedIterator(Node first, int index)
           
 ClosableIterator<Molecule> newThreeFixedIterator(SubjectNode subjNode, PredicateNode predNode, ObjectNode objNode)
           
 ClosableIterator<Molecule> newTwoFixedIterator(Node first, Node second, int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoleculeIteratorFactoryImpl

public MoleculeIteratorFactoryImpl(MoleculeIndex[] indexes)
Method Detail

globalizedGraphIterator

public ClosableIterator<Molecule> globalizedGraphIterator()
Specified by:
globalizedGraphIterator in interface MoleculeIteratorFactory

findUniquePredicates

public ClosableIterator<PredicateNode> findUniquePredicates(Resource resource)
Specified by:
findUniquePredicates in interface MoleculeIteratorFactory

getUniquePredicates

public ClosableIterator<PredicateNode> getUniquePredicates()
Specified by:
getUniquePredicates in interface MoleculeIteratorFactory

getResources

public ClosableIterator<Resource> getResources()
Specified by:
getResources in interface MoleculeIteratorFactory

getURIReferences

public ClosableIterator<URIReference> getURIReferences()
Specified by:
getURIReferences in interface MoleculeIteratorFactory

getBlankNodes

public ClosableIterator<BlankNode> getBlankNodes()
Specified by:
getBlankNodes in interface MoleculeIteratorFactory

newThreeFixedIterator

public ClosableIterator<Molecule> newThreeFixedIterator(SubjectNode subjNode,
                                                        PredicateNode predNode,
                                                        ObjectNode objNode)
Specified by:
newThreeFixedIterator in interface MoleculeIteratorFactory

newTwoFixedIterator

public ClosableIterator<Molecule> newTwoFixedIterator(Node first,
                                                      Node second,
                                                      int index)
Specified by:
newTwoFixedIterator in interface MoleculeIteratorFactory

newOneFixedIterator

public ClosableIterator<Molecule> newOneFixedIterator(Node first,
                                                      int index)
Specified by:
newOneFixedIterator in interface MoleculeIteratorFactory