T - The type of the consumed records.@Internal public class FileSystemOutputFormat<T> extends Object implements org.apache.flink.api.common.io.OutputFormat<T>, org.apache.flink.api.common.io.FinalizeOnMaster, Serializable
OutputFormat for batch job. It commit in finalizeGlobal(int).| Modifier and Type | Class and Description |
|---|---|
static class |
FileSystemOutputFormat.Builder<T>
Builder to build
FileSystemOutputFormat. |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(org.apache.flink.configuration.Configuration parameters) |
void |
finalizeGlobal(int parallelism) |
void |
open(int taskNumber,
int numTasks) |
void |
writeRecord(T record) |
public void finalizeGlobal(int parallelism)
finalizeGlobal in interface org.apache.flink.api.common.io.FinalizeOnMasterpublic 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)
writeRecord in interface org.apache.flink.api.common.io.OutputFormat<T>public void close()
throws IOException
close in interface org.apache.flink.api.common.io.OutputFormat<T>IOExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.