@Public public class SerializedOutputFormat<T extends IOReadableWritable> extends BinaryOutputFormat<T>
SerializedInputFormat
,
Serialized FormBinaryOutputFormat.BlockBasedOutput
FileOutputFormat.OutputDirectoryMode
BLOCK_SIZE_PARAMETER_KEY, NATIVE_BLOCK_SIZE
FILE_PARAMETER_KEY, outputFilePath, stream
Constructor and Description |
---|
SerializedOutputFormat() |
Modifier and Type | Method and Description |
---|---|
protected void |
serialize(T record,
DataOutputView dataOutputView) |
close, complementBlockInfo, configure, createBlockInfo, open, writeRecord
getDirectoryFileName, getOutputDirectoryMode, getOutputFilePath, getWriteMode, initDefaultsFromConfiguration, initializeGlobal, setOutputDirectoryMode, setOutputFilePath, setWriteMode, tryCleanupOnError
getRuntimeContext, setRuntimeContext
protected void serialize(T record, DataOutputView dataOutputView) throws IOException
serialize
in class BinaryOutputFormat<T extends IOReadableWritable>
IOException
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.