@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, setRuntimeContext
public 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>
IOException
public void writeRecord(T record) throws IOException
writeRecord
in interface OutputFormat<T>
IOException
public void close() throws IOException
close
in interface OutputFormat<T>
IOException
public void setInputType(TypeInformation<?> type, ExecutionConfig executionConfig)
setInputType
in interface InputTypeConfigurable
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.