@Deprecated public class FlatFileInputFormat<T> extends org.apache.hadoop.mapred.FileInputFormat<Void,FlatFileInputFormat.RowContainer<T>>
InputFormat
for Plain files with
Deserializer
records.Modifier and Type | Class and Description |
---|---|
class |
FlatFileInputFormat.FlatFileRecordReader<R>
Deprecated.
|
static class |
FlatFileInputFormat.RowContainer<T>
Deprecated.
A work-around until HADOOP-1230 is fixed.
|
static interface |
FlatFileInputFormat.SerializationContext<S>
Deprecated.
An implementation of SerializationContext is responsible for looking up the
Serialization implementation for the given RecordReader.
|
static class |
FlatFileInputFormat.SerializationContextFromConf<S>
Deprecated.
An implementation of
FlatFileInputFormat.SerializationContext that reads the
Serialization class and specific subclass to be deserialized from the
JobConf. |
Modifier and Type | Field and Description |
---|---|
static String |
SerializationImplKey
Deprecated.
The JobConf keys for the Serialization implementation.
|
Constructor and Description |
---|
FlatFileInputFormat()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapred.RecordReader<Void,FlatFileInputFormat.RowContainer<T>> |
getRecordReader(org.apache.hadoop.mapred.InputSplit split,
org.apache.hadoop.mapred.JobConf job,
org.apache.hadoop.mapred.Reporter reporter)
Deprecated.
|
protected boolean |
isSplittable(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path filename)
Deprecated.
|
addInputPath, addInputPathRecursively, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, isSplitable, listStatus, makeSplit, makeSplit, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSize
public static final String SerializationImplKey
protected boolean isSplittable(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path filename)
public org.apache.hadoop.mapred.RecordReader<Void,FlatFileInputFormat.RowContainer<T>> getRecordReader(org.apache.hadoop.mapred.InputSplit split, org.apache.hadoop.mapred.JobConf job, org.apache.hadoop.mapred.Reporter reporter) throws IOException
getRecordReader
in interface org.apache.hadoop.mapred.InputFormat<Void,FlatFileInputFormat.RowContainer<T>>
getRecordReader
in class org.apache.hadoop.mapred.FileInputFormat<Void,FlatFileInputFormat.RowContainer<T>>
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.