Class TinkerGraphIterator<E>
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraphIterator<E>
 
- 
- All Implemented Interfaces:
- Closeable,- 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.CloseableIteratorCloseableIterator.EmptyCloseableIterator<T>
 
- 
 - 
Constructor SummaryConstructors Constructor Description TinkerGraphIterator(Iterator<E> orig)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasNext()Enext()- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.util.IteratorforEachRemaining, remove
 
- 
 
- 
- 
- 
Method Detail- 
closepublic void close() - Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Specified by:
- closein interface- CloseableIterator<E>
 
 
- 
 
-