de.deepamehta.storage.neo4j
Class ModelIterator<E extends DeepaMehtaObjectModel>

Show UML class diagram
java.lang.Object
  extended by 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>


Field Summary
private  org.neo4j.graphdb.Node nextNode
           
private  Iterator<org.neo4j.graphdb.Node> nodes
           
private  NodeType nodeType
           
protected  Neo4jStorage storage
           
 
Constructor Summary
ModelIterator(Neo4jStorage storage, NodeType nodeType)
           
 
Method Summary
(package private) abstract  E buildModel(org.neo4j.graphdb.Node node)
           
private  org.neo4j.graphdb.Node fetchNextNode()
           
 boolean hasNext()
           
 E next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

storage

protected Neo4jStorage storage

nodeType

private NodeType nodeType

nodes

private Iterator<org.neo4j.graphdb.Node> nodes

nextNode

private org.neo4j.graphdb.Node nextNode
Constructor Detail

ModelIterator

ModelIterator(Neo4jStorage storage,
              NodeType nodeType)
Method Detail

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.