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.
|
org.apache.hadoop.record |
(DEPRECATED) Hadoop record I/O contains classes and a record description language
translator for simplifying serialization and deserialization of records in a
language-neutral manner.
|
Modifier and Type | Class and Description |
---|---|
static class |
BooleanWritable.Comparator
A Comparator optimized for BooleanWritable.
|
static class |
BytesWritable.Comparator
A Comparator optimized for BytesWritable.
|
static class |
ByteWritable.Comparator
A Comparator optimized for ByteWritable.
|
static class |
DoubleWritable.Comparator
A Comparator optimized for DoubleWritable.
|
static class |
FloatWritable.Comparator
A Comparator optimized for FloatWritable.
|
static class |
IntWritable.Comparator
A Comparator optimized for IntWritable.
|
static class |
LongWritable.Comparator
A Comparator optimized for LongWritable.
|
static class |
LongWritable.DecreasingComparator
A decreasing Comparator optimized for LongWritable.
|
static class |
MD5Hash.Comparator
A WritableComparator optimized for MD5Hash keys.
|
static class |
NullWritable.Comparator
A Comparator "optimized" for NullWritable.
|
static class |
ShortWritable.Comparator
A Comparator optimized for ShortWritable.
|
static class |
Text.Comparator
A WritableComparator optimized for Text keys.
|
static class |
UTF8.Comparator
Deprecated.
A WritableComparator optimized for UTF8 keys.
|
Modifier and Type | Method and Description |
---|---|
static WritableComparator |
WritableComparator.get(Class<? extends WritableComparable> c)
For backwards compatibility.
|
static WritableComparator |
WritableComparator.get(Class<? extends WritableComparable> c,
Configuration conf)
Get a comparator for a
WritableComparable implementation. |
Modifier and Type | Method and Description |
---|---|
static MapFile.Writer.Option |
MapFile.Writer.comparator(WritableComparator value) |
static MapFile.Reader.Option |
MapFile.Reader.comparator(WritableComparator value) |
static void |
WritableComparator.define(Class c,
WritableComparator comparator)
Register an optimized comparator for a
WritableComparable
implementation. |
protected void |
MapFile.Reader.open(Path dir,
WritableComparator comparator,
Configuration conf,
SequenceFile.Reader.Option... options) |
Constructor and Description |
---|
BloomMapFile.Reader(FileSystem fs,
String dirName,
WritableComparator comparator,
Configuration conf)
Deprecated.
|
BloomMapFile.Reader(FileSystem fs,
String dirName,
WritableComparator comparator,
Configuration conf,
boolean open)
Deprecated.
|
BloomMapFile.Writer(Configuration conf,
FileSystem fs,
String dirName,
WritableComparator comparator,
Class valClass)
Deprecated.
|
BloomMapFile.Writer(Configuration conf,
FileSystem fs,
String dirName,
WritableComparator comparator,
Class valClass,
SequenceFile.CompressionType compress)
Deprecated.
|
BloomMapFile.Writer(Configuration conf,
FileSystem fs,
String dirName,
WritableComparator comparator,
Class valClass,
SequenceFile.CompressionType compress,
CompressionCodec codec,
Progressable progress)
Deprecated.
|
BloomMapFile.Writer(Configuration conf,
FileSystem fs,
String dirName,
WritableComparator comparator,
Class valClass,
SequenceFile.CompressionType compress,
Progressable progress)
Deprecated.
|
MapFile.Reader(FileSystem fs,
String dirName,
WritableComparator comparator,
Configuration conf)
Deprecated.
|
MapFile.Writer(Configuration conf,
FileSystem fs,
String dirName,
WritableComparator comparator,
Class valClass)
Deprecated.
Use Writer(Configuration, Path, Option...) instead.
|
MapFile.Writer(Configuration conf,
FileSystem fs,
String dirName,
WritableComparator comparator,
Class valClass,
SequenceFile.CompressionType compress)
Deprecated.
Use Writer(Configuration, Path, Option...) instead.
|
MapFile.Writer(Configuration conf,
FileSystem fs,
String dirName,
WritableComparator comparator,
Class valClass,
SequenceFile.CompressionType compress,
CompressionCodec codec,
Progressable progress)
Deprecated.
Use Writer(Configuration, Path, Option...) instead.
|
MapFile.Writer(Configuration conf,
FileSystem fs,
String dirName,
WritableComparator comparator,
Class valClass,
SequenceFile.CompressionType compress,
Progressable progress)
Deprecated.
Use Writer(Configuration, Path, Option...)} instead.
|
SetFile.Reader(FileSystem fs,
String dirName,
WritableComparator comparator,
Configuration conf)
Construct a set reader for the named set using the named comparator.
|
SetFile.Writer(Configuration conf,
FileSystem fs,
String dirName,
WritableComparator comparator,
SequenceFile.CompressionType compress)
Create a set naming the element comparator and compression type.
|
Modifier and Type | Class and Description |
---|---|
class |
RecordComparator
Deprecated.
Replaced by Avro.
|
Copyright © 2017 Apache Software Foundation. All Rights Reserved.