public class SequentialInputFormat<T> extends BinaryInputFormat<T>
Objects with TypeSerializers from disk.SequentialOutputFormat,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
protected static class |
SequentialInputFormat.AbstractConfigBuilder<T>
Abstract builder used to set parameters to the input format's configuration in a fluent way.
|
static class |
SequentialInputFormat.ConfigBuilder
A builder used to set parameters to the input format's configuration in a fluent way.
|
NATIVE_BLOCK_SIZE| Constructor and Description |
|---|
SequentialInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(eu.stratosphere.configuration.Configuration parameters) |
static SequentialInputFormat.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 SequentialInputFormat.ConfigBuilder |
configureSequentialFormat(eu.stratosphere.api.common.operators.GenericDataSource<?> target)
Creates a configuration builder that can be used to set the input format's parameters to the config in a fluent
fashion.
|
protected void |
deserialize(T record,
eu.stratosphere.core.memory.DataInputView dataInput)
Deserializes the given record from the
DataInputView. |
eu.stratosphere.api.common.typeutils.TypeSerializer<T> |
getTypeSerializer()
Returns the typeSerializer.
|
void |
setTypeSerializer(eu.stratosphere.api.common.typeutils.TypeSerializer<T> typeSerializer)
Sets the typeSerializer to the specified value.
|
configureBinaryFormat, configureBinaryFormat, createBlockInfo, createInputSplits, createStatistics, getBlockSize, getStatistics, nextRecord, open, reachedEnd, setBlockSizeclose, configureFileFormat, getFilePath, getFileStats, getInputSplitType, getMinSplitSize, getNumSplits, getOpenTimeout, getSplitLength, getSplitStart, setFilePath, setFilePath, setMinSplitSize, setNumSplits, setOpenTimeout, toStringpublic void configure(eu.stratosphere.configuration.Configuration parameters)
configure in interface eu.stratosphere.api.common.io.InputFormat<T,eu.stratosphere.core.fs.FileInputSplit>configure in class BinaryInputFormat<T>public eu.stratosphere.api.common.typeutils.TypeSerializer<T> getTypeSerializer()
public void setTypeSerializer(eu.stratosphere.api.common.typeutils.TypeSerializer<T> typeSerializer)
typeSerializer - the typeSerializer to setprotected void deserialize(T record, eu.stratosphere.core.memory.DataInputView dataInput) throws IOException
BinaryInputFormatDataInputView.deserialize in class BinaryInputFormat<T>IOExceptionpublic static SequentialInputFormat.ConfigBuilder configureSequentialFormat(eu.stratosphere.configuration.Configuration config)
public static SequentialInputFormat.ConfigBuilder configureSequentialFormat(eu.stratosphere.api.common.operators.GenericDataSource<?> target)
Copyright © 2014. All rights reserved.