@PublicEvolving public class LocalCollectionOutputFormat<T> extends RichOutputFormat<T> implements InputTypeConfigurable
| Constructor and Description |
|---|
LocalCollectionOutputFormat(Collection<T> out) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(Configuration parameters) |
void |
open(int taskNumber,
int numTasks) |
void |
setInputType(TypeInformation<?> type,
ExecutionConfig executionConfig) |
void |
writeRecord(T record) |
getRuntimeContext, setRuntimeContextpublic LocalCollectionOutputFormat(Collection<T> out)
public void configure(Configuration parameters)
configure in interface OutputFormat<T>public void open(int taskNumber,
int numTasks)
throws IOException
open in interface OutputFormat<T>IOExceptionpublic void writeRecord(T record) throws IOException
writeRecord in interface OutputFormat<T>IOExceptionpublic void close()
throws IOException
close in interface OutputFormat<T>IOExceptionpublic void setInputType(TypeInformation<?> type, ExecutionConfig executionConfig)
setInputType in interface InputTypeConfigurableCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.