T
- public class InputSplitIterator<T extends InputSplit> extends Object implements Iterator<T>
InputSplitProvider
on each next
call in
order to facilitate lazy split assignment.Constructor and Description |
---|
InputSplitIterator(InputSplitProvider inputSplitProvider)
Constructs a new input split iterator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public InputSplitIterator(InputSplitProvider inputSplitProvider)
inputSplitProvider
- the input split provider to be called for new input splitspublic boolean hasNext()
hasNext
in interface Iterator<T extends InputSplit>
public T next()
next
in interface Iterator<T extends InputSplit>
public void remove()
remove
in interface Iterator<T extends InputSplit>
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.