Package org.apache.flink.api.java.io
Class DiscardingOutputFormat<T>
- java.lang.Object
-
- org.apache.flink.api.java.io.DiscardingOutputFormat<T>
-
- Type Parameters:
T- The type of the elements accepted by the output format.
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.io.OutputFormat<T>
@Deprecated @Public public class DiscardingOutputFormat<T> extends Object implements org.apache.flink.api.common.io.OutputFormat<T>
Deprecated.All Flink DataSet APIs are deprecated since Flink 1.18 and will be removed in a future Flink major version. You can still build your application in DataSet, but you should move to either the DataStream and/or Table API.An output format that simply discards all elements.
-
-
Constructor Summary
Constructors Constructor Description DiscardingOutputFormat()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated.voidconfigure(org.apache.flink.configuration.Configuration parameters)Deprecated.voidopen(int taskNumber, int numTasks)Deprecated.voidwriteRecord(T record)Deprecated.
-
-
-
Method Detail
-
configure
public void configure(org.apache.flink.configuration.Configuration parameters)
Deprecated.- Specified by:
configurein interfaceorg.apache.flink.api.common.io.OutputFormat<T>
-
open
public void open(int taskNumber, int numTasks)Deprecated.- Specified by:
openin interfaceorg.apache.flink.api.common.io.OutputFormat<T>
-
writeRecord
public void writeRecord(T record)
Deprecated.- Specified by:
writeRecordin interfaceorg.apache.flink.api.common.io.OutputFormat<T>
-
close
public void close()
Deprecated.- Specified by:
closein interfaceorg.apache.flink.api.common.io.OutputFormat<T>
-
-