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.io.serializer |
This package provides a mechanism for using different serialization frameworks
in Hadoop.
|
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.
|
class |
WritableComparator
A Comparator for
WritableComparable s. |
Constructor and Description |
---|
SequenceFile.Sorter(FileSystem fs,
RawComparator comparator,
Class keyClass,
Class valClass,
Configuration conf)
Sort and merge using an arbitrary
RawComparator . |
SequenceFile.Sorter(FileSystem fs,
RawComparator comparator,
Class keyClass,
Class valClass,
Configuration conf,
SequenceFile.Metadata metadata)
Sort and merge using an arbitrary
RawComparator . |
Modifier and Type | Class and Description |
---|---|
class |
org.apache.hadoop.io.serializer.DeserializerComparator<T>
A
RawComparator that uses a Deserializer to deserialize
the objects to be compared so that the standard Comparator can
be used to compare them. |
class |
JavaSerializationComparator<T extends Serializable & Comparable<T>>
A
RawComparator that uses a JavaSerialization
Deserializer to deserialize objects that are then compared via
their Comparable interfaces. |
Modifier and Type | Class and Description |
---|---|
class |
RecordComparator
Deprecated.
Replaced by Avro.
|
Copyright © 2017 Apache Software Foundation. All Rights Reserved.