Class 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.
    See Also:
    FLIP-131: Consolidate the user-facing Dataflow SDKs/APIs (and deprecate the DataSet API, Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.flink.api.common.io.BinaryOutputFormat

        org.apache.flink.api.common.io.BinaryOutputFormat.BlockBasedOutput
      • Nested classes/interfaces inherited from class org.apache.flink.api.common.io.FileOutputFormat

        org.apache.flink.api.common.io.FileOutputFormat.OutputDirectoryMode
      • Nested classes/interfaces inherited from interface org.apache.flink.api.common.io.OutputFormat

        org.apache.flink.api.common.io.OutputFormat.InitializationContext
    • Field Summary

      • Fields inherited from class org.apache.flink.api.common.io.BinaryOutputFormat

        BLOCK_SIZE_PARAMETER_KEY, NATIVE_BLOCK_SIZE
      • Fields inherited from class org.apache.flink.api.common.io.FileOutputFormat

        FILE_PARAMETER_KEY, outputFilePath, stream
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected void serialize​(T record, org.apache.flink.core.memory.DataOutputView dataOutput)
      Deprecated.
       
      void setInputType​(org.apache.flink.api.common.typeinfo.TypeInformation<?> type, org.apache.flink.api.common.ExecutionConfig executionConfig)
      Deprecated.
       
      void setSerializer​(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
      • Methods inherited from interface org.apache.flink.api.common.io.OutputFormat

        open
    • Constructor Detail

      • TypeSerializerOutputFormat

        public TypeSerializerOutputFormat()
        Deprecated.
    • Method Detail

      • serialize

        protected void serialize​(T record,
                                 org.apache.flink.core.memory.DataOutputView dataOutput)
                          throws IOException
        Deprecated.
        Specified by:
        serialize in class org.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:
        setInputType in interface org.apache.flink.api.java.typeutils.InputTypeConfigurable