程序包 | 说明 |
---|---|
org.apache.hadoop.examples |
Hadoop example code.
|
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.mapred.join |
Given a set of sorted datasets keyed with the same class and yielding equal
partitions, it is possible to effect a join of those datasets prior to the map.
|
org.apache.hadoop.mapred.lib |
Library of generally useful mappers, reducers, and partitioners.
|
org.apache.hadoop.record |
Hadoop record I/O contains classes and a record description language
translator for simplifying serialization and deserialization of records in a
language-neutral manner.
|
org.apache.hadoop.tools |
限定符和类型 | 类和说明 |
---|---|
static class |
SecondarySort.IntPair.Comparator
A Comparator that compares serialized IntPair.
|
限定符和类型 | 类和说明 |
---|---|
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 |
Text.Comparator
A WritableComparator optimized for Text keys.
|
static class |
UTF8.Comparator
已过时。
A WritableComparator optimized for UTF8 keys.
|
限定符和类型 | 方法和说明 |
---|---|
static WritableComparator |
WritableComparator.get(Class<? extends WritableComparable> c)
Get a comparator for a
WritableComparable implementation. |
限定符和类型 | 方法和说明 |
---|---|
static void |
WritableComparator.define(Class c,
WritableComparator comparator)
Register an optimized comparator for a
WritableComparable
implementation. |
protected void |
MapFile.Reader.open(FileSystem fs,
String dirName,
WritableComparator comparator,
Configuration conf) |
构造器和说明 |
---|
BloomMapFile.Reader(FileSystem fs,
String dirName,
WritableComparator comparator,
Configuration conf) |
BloomMapFile.Reader(FileSystem fs,
String dirName,
WritableComparator comparator,
Configuration conf,
boolean open) |
BloomMapFile.Writer(Configuration conf,
FileSystem fs,
String dirName,
WritableComparator comparator,
Class valClass) |
BloomMapFile.Writer(Configuration conf,
FileSystem fs,
String dirName,
WritableComparator comparator,
Class valClass,
SequenceFile.CompressionType compress) |
BloomMapFile.Writer(Configuration conf,
FileSystem fs,
String dirName,
WritableComparator comparator,
Class valClass,
SequenceFile.CompressionType compress,
CompressionCodec codec,
Progressable progress) |
BloomMapFile.Writer(Configuration conf,
FileSystem fs,
String dirName,
WritableComparator comparator,
Class valClass,
SequenceFile.CompressionType compress,
Progressable progress) |
MapFile.Reader(FileSystem fs,
String dirName,
WritableComparator comparator,
Configuration conf)
Construct a map reader for the named map using the named comparator.
|
MapFile.Reader(FileSystem fs,
String dirName,
WritableComparator comparator,
Configuration conf,
boolean open)
Hook to allow subclasses to defer opening streams until further
initialization is complete.
|
MapFile.Writer(Configuration conf,
FileSystem fs,
String dirName,
WritableComparator comparator,
Class valClass)
Create the named map using the named key comparator.
|
MapFile.Writer(Configuration conf,
FileSystem fs,
String dirName,
WritableComparator comparator,
Class valClass,
SequenceFile.CompressionType compress)
Create the named map using the named key comparator.
|
MapFile.Writer(Configuration conf,
FileSystem fs,
String dirName,
WritableComparator comparator,
Class valClass,
SequenceFile.CompressionType compress,
CompressionCodec codec,
Progressable progress)
Create the named map using the named key comparator.
|
MapFile.Writer(Configuration conf,
FileSystem fs,
String dirName,
WritableComparator comparator,
Class valClass,
SequenceFile.CompressionType compress,
Progressable progress)
Create the named map using the named key comparator.
|
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.
|
限定符和类型 | 字段和说明 |
---|---|
protected Class<? extends WritableComparator> |
Parser.Node.cmpcl |
限定符和类型 | 方法和说明 |
---|---|
protected WritableComparator |
CompositeRecordReader.getComparator()
Return comparator defining the ordering for RecordReaders in this
composite.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
Parser.Node.setKeyComparator(Class<? extends WritableComparator> cmpcl) |
构造器和说明 |
---|
CompositeRecordReader(int id,
int capacity,
Class<? extends WritableComparator> cmpcl)
Create a RecordReader with capacity children to position
id in the parent reader.
|
JoinRecordReader(int id,
JobConf conf,
int capacity,
Class<? extends WritableComparator> cmpcl) |
MultiFilterRecordReader(int id,
JobConf conf,
int capacity,
Class<? extends WritableComparator> cmpcl) |
限定符和类型 | 类和说明 |
---|---|
class |
KeyFieldBasedComparator<K,V>
This comparator implementation provides a subset of the features provided
by the Unix/GNU Sort.
|
限定符和类型 | 类和说明 |
---|---|
class |
RecordComparator
A raw record comparator base class
|
限定符和类型 | 类和说明 |
---|---|
static class |
Logalyzer.LogComparator
A WritableComparator optimized for UTF8 keys of the logs.
|
Copyright © 2009 The Apache Software Foundation