Class ClosingStreamIterator
java.lang.Object
org.apache.drill.exec.store.easy.json.loader.ClosingStreamIterator
- Type Parameters:
T
- type of the value
- All Implemented Interfaces:
Iterator<InputStream>
It allows setting the current value in the iterator and can be used once after
next()
call-
Constructor Details
-
ClosingStreamIterator
public ClosingStreamIterator()
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<InputStream>
-
next
- Specified by:
next
in interfaceIterator<InputStream>
-
setValue
-