public class SequentialOutputFormat extends BinaryOutputFormat<Object>
Objects with TypeSerializers to disk.SequentialInputFormat,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
protected static class |
SequentialOutputFormat.AbstractConfigBuilder<T>
Abstract builder used to set parameters to the input format's configuration in a fluent way.
|
static class |
SequentialOutputFormat.ConfigBuilder
A builder used to set parameters to the input format's configuration in a fluent way.
|
NATIVE_BLOCK_SIZE| Constructor and Description |
|---|
SequentialOutputFormat() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(eu.stratosphere.configuration.Configuration parameters) |
static SequentialOutputFormat.ConfigBuilder |
configureSequentialFormat(eu.stratosphere.configuration.Configuration config)
Creates a configuration builder that can be used to set the input format's parameters to the config in a fluent
fashion.
|
static SequentialOutputFormat.ConfigBuilder |
configureSequentialFormat(eu.stratosphere.api.common.operators.GenericDataSink target)
Creates a configuration builder that can be used to set the input format's parameters to the config in a fluent
fashion.
|
eu.stratosphere.api.common.typeutils.TypeSerializer<?> |
getTypeSerializer()
Returns the typeSerializer.
|
protected void |
serialize(Object record,
eu.stratosphere.core.memory.DataOutputView dataOutputStream)
Serializes the given record to the
DataOutputView. |
void |
setTypeSerializer(eu.stratosphere.api.common.typeutils.TypeSerializer<?> typeSerializer)
Sets the typeSerializer to the specified value.
|
close, complementBlockInfo, configureBinaryFormat, configureBinaryFormat, createBlockInfo, getBlockSize, open, setBlockSize, writeRecordpublic void configure(eu.stratosphere.configuration.Configuration parameters)
configure in interface eu.stratosphere.api.common.io.OutputFormat<Object>configure in class BinaryOutputFormat<Object>public eu.stratosphere.api.common.typeutils.TypeSerializer<?> getTypeSerializer()
public void setTypeSerializer(eu.stratosphere.api.common.typeutils.TypeSerializer<?> typeSerializer)
typeSerializer - the typeSerializer to setprotected void serialize(Object record, eu.stratosphere.core.memory.DataOutputView dataOutputStream) throws IOException
BinaryOutputFormatDataOutputView.serialize in class BinaryOutputFormat<Object>IOExceptionpublic static SequentialOutputFormat.ConfigBuilder configureSequentialFormat(eu.stratosphere.configuration.Configuration config)
public static SequentialOutputFormat.ConfigBuilder configureSequentialFormat(eu.stratosphere.api.common.operators.GenericDataSink target)
Copyright © 2014. All rights reserved.