T - the record typepublic class InputIterator<T> extends Object implements Iterator<T>, Closeable
Iterator for InputFormats. If multiple formats are specified, it is assumed that they are
homogeneous and most likely the result of a parallel execution of the previous Function.| Constructor and Description |
|---|
InputIterator(eu.stratosphere.api.common.typeutils.TypeSerializer<T> serializer,
eu.stratosphere.api.common.io.InputFormat<T,?> inputFormat)
Initializes InputIterator from already configured and opened
InputFormat. |
InputIterator(eu.stratosphere.api.common.typeutils.TypeSerializer<T> serializer,
List<? extends eu.stratosphere.api.common.io.InputFormat<T,?>> inputFormats)
Initializes InputIterator from already configured and opened
InputFormats. |
public InputIterator(eu.stratosphere.api.common.typeutils.TypeSerializer<T> serializer, eu.stratosphere.api.common.io.InputFormat<T,?> inputFormat)
InputFormat.inputFormat - the inputFormat to wrappublic InputIterator(eu.stratosphere.api.common.typeutils.TypeSerializer<T> serializer, List<? extends eu.stratosphere.api.common.io.InputFormat<T,?>> inputFormats)
InputFormats.inputFormats - the inputFormats to wrappublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2014. All rights reserved.