Package | Description |
---|---|
org.apache.hadoop.io |
Generic i/o code for use when reading and writing data to the network,
to databases, and to files.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
MapFile.Reader.Option |
Modifier and Type | Method and Description |
---|---|
static SequenceFile.Reader.Option |
SequenceFile.Reader.bufferSize(int value)
Create an option with the buffer size for reading the given pathname.
|
static SequenceFile.Reader.Option |
SequenceFile.Reader.file(Path value)
Create an option to specify the path name of the sequence file.
|
static SequenceFile.Reader.Option |
SequenceFile.Reader.length(long value)
Create an option to specify the number of bytes to read.
|
static SequenceFile.Reader.Option |
SequenceFile.Reader.start(long value)
Create an option to specify the starting byte to read.
|
static SequenceFile.Reader.Option |
SequenceFile.Reader.stream(FSDataInputStream value)
Create an option to specify the stream with the sequence file.
|
Modifier and Type | Method and Description |
---|---|
protected SequenceFile.Reader |
MapFile.Reader.createDataFileReader(Path dataFile,
Configuration conf,
SequenceFile.Reader.Option... options)
Override this method to specialize the type of
SequenceFile.Reader returned. |
protected void |
MapFile.Reader.open(Path dir,
WritableComparator comparator,
Configuration conf,
SequenceFile.Reader.Option... options) |
Constructor and Description |
---|
BloomMapFile.Reader(Path dir,
Configuration conf,
SequenceFile.Reader.Option... options) |
MapFile.Reader(Path dir,
Configuration conf,
SequenceFile.Reader.Option... opts) |
SequenceFile.Reader(Configuration conf,
SequenceFile.Reader.Option... opts) |
Copyright © 2017 Apache Software Foundation. All Rights Reserved.