de.deepamehta.storage.neo4j
Class ModelIterator<E extends DeepaMehtaObjectModel>
java.lang.Object
de.deepamehta.storage.neo4j.ModelIterator<E>
- All Implemented Interfaces:
- Iterator<E>
- Direct Known Subclasses:
- AssociationModelIterator, TopicModelIterator
abstract class ModelIterator<E extends DeepaMehtaObjectModel>
- extends Object
- implements Iterator<E>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
storage
protected Neo4jStorage storage
nodeType
private NodeType nodeType
nodes
private Iterator<org.neo4j.graphdb.Node> nodes
nextNode
private org.neo4j.graphdb.Node nextNode
ModelIterator
ModelIterator(Neo4jStorage storage,
NodeType nodeType)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<E extends DeepaMehtaObjectModel>
next
public E next()
- Specified by:
next
in interface Iterator<E extends DeepaMehtaObjectModel>
remove
public void remove()
- Specified by:
remove
in interface Iterator<E extends DeepaMehtaObjectModel>
buildModel
abstract E buildModel(org.neo4j.graphdb.Node node)
fetchNextNode
private org.neo4j.graphdb.Node fetchNextNode()
Copyright © 2015. All Rights Reserved.