Interface CloseableIterator<T>

  • All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable, java.util.Iterator<T>
    All Known Implementing Classes:
    DataIterator, FilterIterator, VectorizedRowBatchIterator

    public interface CloseableIterator<T>
    extends java.util.Iterator<T>, java.io.Closeable
    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static <E> CloseableIterator<E> empty()  
      static <I,​O>
      CloseableIterator<O>
      transform​(CloseableIterator<I> iterator, java.util.function.Function<I,​O> transform)  
      static <E> CloseableIterator<E> withClose​(java.util.Iterator<E> iterator)  
      • Methods inherited from interface java.io.Closeable

        close
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, hasNext, next, remove