程序包 | 说明 |
---|---|
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.mapreduce.lib.partition | |
org.apache.hadoop.typedbytes |
Typed bytes are sequences of bytes in which the first byte is a type code.
|
限定符和类型 | 类和说明 |
---|---|
class |
BytesWritable
A byte sequence that is usable as a key or value.
|
class |
Text
This class stores text using standard UTF8 encoding.
|
限定符和类型 | 方法和说明 |
---|---|
int |
BinaryComparable.compareTo(BinaryComparable other)
Compare bytes from {#getBytes()}.
|
限定符和类型 | 方法和说明 |
---|---|
int |
BinaryPartitioner.getPartition(BinaryComparable key,
V value,
int numPartitions)
Use (the specified slice of the array returned by)
getBytes() to partition. |
限定符和类型 | 类和说明 |
---|---|
class |
TypedBytesWritable
Writable for typed bytes.
|
Copyright © 2009 The Apache Software Foundation