@PublicEvolving public class ParallelIteratorInputFormat<T> extends GenericInputFormat<T>
SplittableIterator.partitionNumber| Constructor and Description |
|---|
ParallelIteratorInputFormat(SplittableIterator<T> iterator) |
| Modifier and Type | Method and Description |
|---|---|
T |
nextRecord(T reuse) |
void |
open(GenericInputSplit split) |
boolean |
reachedEnd() |
close, configure, createInputSplits, getInputSplitAssigner, getStatisticscloseInputFormat, getRuntimeContext, openInputFormat, setRuntimeContextpublic ParallelIteratorInputFormat(SplittableIterator<T> iterator)
public void open(GenericInputSplit split) throws IOException
open in interface InputFormat<T,GenericInputSplit>open in class GenericInputFormat<T>IOExceptionpublic boolean reachedEnd()
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.