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