Package org.apache.flink.api.java.io
Class TypeSerializerOutputFormat<T>
- java.lang.Object
-
- org.apache.flink.api.common.io.RichOutputFormat<IT>
-
- org.apache.flink.api.common.io.FileOutputFormat<T>
-
- org.apache.flink.api.common.io.BinaryOutputFormat<T>
-
- org.apache.flink.api.java.io.TypeSerializerOutputFormat<T>
-
- Type Parameters:
T- type parameter
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.io.CleanupWhenUnsuccessful,org.apache.flink.api.common.io.InitializeOnMaster,org.apache.flink.api.common.io.OutputFormat<T>,org.apache.flink.api.java.typeutils.InputTypeConfigurable
@Deprecated @PublicEvolving public class TypeSerializerOutputFormat<T> extends org.apache.flink.api.common.io.BinaryOutputFormat<T> implements org.apache.flink.api.java.typeutils.InputTypeConfigurable
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.Stores elements by serializing them with their type serializer.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.flink.api.common.io.BinaryOutputFormat
org.apache.flink.api.common.io.BinaryOutputFormat.BlockBasedOutput
-
-
Constructor Summary
Constructors Constructor Description TypeSerializerOutputFormat()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidserialize(T record, org.apache.flink.core.memory.DataOutputView dataOutput)Deprecated.voidsetInputType(org.apache.flink.api.common.typeinfo.TypeInformation<?> type, org.apache.flink.api.common.ExecutionConfig executionConfig)Deprecated.voidsetSerializer(org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer)Deprecated.-
Methods inherited from class org.apache.flink.api.common.io.BinaryOutputFormat
close, complementBlockInfo, configure, createBlockInfo, open, writeRecord
-
Methods inherited from class org.apache.flink.api.common.io.FileOutputFormat
getDirectoryFileName, getOutputDirectoryMode, getOutputFilePath, getWriteMode, initDefaultsFromConfiguration, initializeGlobal, setOutputDirectoryMode, setOutputFilePath, setWriteMode, tryCleanupOnError
-
Methods inherited from class org.apache.flink.api.common.io.RichOutputFormat
getRuntimeContext, setRuntimeContext
-
-
-
-
Method Detail
-
serialize
protected void serialize(T record, org.apache.flink.core.memory.DataOutputView dataOutput) throws IOException
Deprecated.- Specified by:
serializein classorg.apache.flink.api.common.io.BinaryOutputFormat<T>- Throws:
IOException
-
setSerializer
public void setSerializer(org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer)
Deprecated.
-
setInputType
public void setInputType(org.apache.flink.api.common.typeinfo.TypeInformation<?> type, org.apache.flink.api.common.ExecutionConfig executionConfig)Deprecated.- Specified by:
setInputTypein interfaceorg.apache.flink.api.java.typeutils.InputTypeConfigurable
-
-