Class TinkerGraphIterator<E>
- java.lang.Object
 - 
- org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraphIterator<E>
 
 
- 
- All Implemented Interfaces:
 AutoCloseable,Iterator<E>,CloseableIterator<E>
public class TinkerGraphIterator<E> extends Object implements CloseableIterator<E>
Wrapper on top of Iterator representing a closable resource to the underlying storage. This class also serves as a reference on how the providers can maintain a counter of the underlying storage resources in their implementation. This counter in coordination with gremlin-test suite can be used to detect cases when the query processor does not gracefully release the underlying resources. 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.util.CloseableIterator
CloseableIterator.EmptyCloseableIterator<T> 
 - 
 
- 
Constructor Summary
Constructors Constructor Description TinkerGraphIterator(Iterator<E> orig) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasNext()Enext()- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface java.util.Iterator
forEachRemaining, remove 
 - 
 
 -