public class IteratorInputFormat<T> extends GenericInputFormat<T> implements NonParallelInput
partitionNumber| Constructor and Description |
|---|
IteratorInputFormat(Iterator<T> iterator) |
| Modifier and Type | Method and Description |
|---|---|
T |
nextRecord(T record) |
boolean |
reachedEnd() |
close, configure, createInputSplits, getInputSplitAssigner, getStatistics, openpublic boolean reachedEnd()
reachedEnd in interface InputFormat<T,GenericInputSplit>public T nextRecord(T record)
nextRecord in interface InputFormat<T,GenericInputSplit>Copyright © 2015 The Apache Software Foundation. All rights reserved.