T
- type parameter@Deprecated @PublicEvolving public class TypeSerializerOutputFormat<T> extends BinaryOutputFormat<T> implements InputTypeConfigurable
BinaryOutputFormat.BlockBasedOutput
FileOutputFormat.OutputDirectoryMode
OutputFormat.InitializationContext
BLOCK_SIZE_PARAMETER_KEY, NATIVE_BLOCK_SIZE
FILE_PARAMETER_KEY, outputFilePath, stream
Constructor and Description |
---|
TypeSerializerOutputFormat()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
serialize(T record,
DataOutputView dataOutput)
Deprecated.
|
void |
setInputType(TypeInformation<?> type,
ExecutionConfig executionConfig)
Deprecated.
Method that is called on an
OutputFormat when it is
passed to the DataSet's output method. |
void |
setSerializer(TypeSerializer<T> serializer)
Deprecated.
|
close, complementBlockInfo, configure, createBlockInfo, open, writeRecord
getDirectoryFileName, getOutputDirectoryMode, getOutputFilePath, getWriteMode, initDefaultsFromConfiguration, initializeGlobal, setOutputDirectoryMode, setOutputFilePath, setWriteMode, tryCleanupOnError
getRuntimeContext, setRuntimeContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
open
protected void serialize(T record, DataOutputView dataOutput) throws IOException
serialize
in class BinaryOutputFormat<T>
IOException
public void setSerializer(TypeSerializer<T> serializer)
public void setInputType(TypeInformation<?> type, ExecutionConfig executionConfig)
InputTypeConfigurable
OutputFormat
when it is
passed to the DataSet's output method. May be used to configures the output format based on
the data type.setInputType
in interface InputTypeConfigurable
type
- The data type of the input.executionConfig
- The execution config for this parallel execution.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.