org.apache.tinkerpop.gremlin.hadoop.structure.io

## Class HadoopElementIterator<E extends Element>

- java.lang.Object
- - org.apache.tinkerpop.gremlin.hadoop.structure.io.HadoopElementIterator<E>

- All Implemented Interfaces:
    AutoCloseable, Iterator<E>
  Direct Known Subclasses:
    HadoopEdgeIterator, HadoopVertexIterator

      public abstract class HadoopElementIterator<E extends Element>
      extends Object
      implements Iterator<E>, AutoCloseable

  Author:
    Marko A. Rodriguez (http://markorodriguez.com)

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected HadoopGraph` | `graph`
    `protected Queue<<any>>` | `readers`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `HadoopElementIterator(HadoopGraph graph)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`

    - ### 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, hasNext, next, remove`

- - ### Field Detail

    - #### graph

          protected final HadoopGraph graph

    - #### readers

          protected final Queue<<any>> readers

  - ### Constructor Detail

    - #### HadoopElementIterator

          public HadoopElementIterator(HadoopGraph graph)

  - ### Method Detail

    - #### close

          public void close()

      Specified by:
        `close` in interface `AutoCloseable`

Copyright © 2013–2020 Apache Software Foundation. All rights reserved.