T - type parameter@PublicEvolving public class TypeSerializerOutputFormat<T> extends BinaryOutputFormat<T> implements InputTypeConfigurable
BinaryOutputFormat.BlockBasedOutputFileOutputFormat.OutputDirectoryModeBLOCK_SIZE_PARAMETER_KEY, NATIVE_BLOCK_SIZEFILE_PARAMETER_KEY, outputFilePath, stream| Constructor and Description |
|---|
TypeSerializerOutputFormat() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
serialize(T record,
DataOutputView dataOutput) |
void |
setInputType(TypeInformation<?> type,
ExecutionConfig executionConfig) |
void |
setSerializer(TypeSerializer<T> serializer) |
close, complementBlockInfo, configure, createBlockInfo, open, writeRecordgetDirectoryFileName, getOutputDirectoryMode, getOutputFilePath, getWriteMode, initializeGlobal, setOutputDirectoryMode, setOutputFilePath, setWriteMode, tryCleanupOnErrorgetRuntimeContext, setRuntimeContextprotected void serialize(T record, DataOutputView dataOutput) throws IOException
serialize in class BinaryOutputFormat<T>IOExceptionpublic void setSerializer(TypeSerializer<T> serializer)
public void setInputType(TypeInformation<?> type, ExecutionConfig executionConfig)
setInputType in interface InputTypeConfigurableCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.