程序包 | 说明 |
---|---|
org.apache.hadoop.examples |
Hadoop example code.
|
org.apache.hadoop.typedbytes |
Typed bytes are sequences of bytes in which the first byte is a type code.
|
限定符和类型 | 方法和说明 |
---|---|
void |
PiEstimator.PiReducer.reduce(BooleanWritable isInside,
Iterator<LongWritable> values,
OutputCollector<WritableComparable<?>,Writable> output,
Reporter reporter)
Accumulate number of points inside/outside results from the mappers.
|
限定符和类型 | 方法和说明 |
---|---|
void |
PiEstimator.PiMapper.map(LongWritable offset,
LongWritable size,
OutputCollector<BooleanWritable,LongWritable> out,
Reporter reporter)
Map method.
|
限定符和类型 | 方法和说明 |
---|---|
BooleanWritable |
TypedBytesWritableInput.readBoolean() |
BooleanWritable |
TypedBytesWritableInput.readBoolean(BooleanWritable bw) |
限定符和类型 | 方法和说明 |
---|---|
BooleanWritable |
TypedBytesWritableInput.readBoolean(BooleanWritable bw) |
void |
TypedBytesWritableOutput.writeBoolean(BooleanWritable bw) |
Copyright © 2009 The Apache Software Foundation