Package | Description |
---|---|
org.apache.hadoop.examples |
Hadoop example code.
|
org.apache.hadoop.examples.pi |
This package consists of a map/reduce application,
distbbp,
which computes exact binary digits of the mathematical constant π.
|
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.reduce | |
org.apache.hadoop.typedbytes |
Typed bytes are sequences of bytes in which the first byte is a type code.
|
org.apache.hadoop.util |
Common utilities.
|
Modifier and Type | Method and Description |
---|---|
RecordReader<LongWritable,IntWritable> |
BaileyBorweinPlouffe.BbpInputFormat.createRecordReader(InputSplit generic,
TaskAttemptContext context)
Create a record reader for a given split.
|
Modifier and Type | Method and Description |
---|---|
int |
SecondarySort.FirstPartitioner.getPartition(SecondarySort.IntPair key,
IntWritable value,
int numPartitions) |
protected void |
BaileyBorweinPlouffe.BbpMapper.map(LongWritable offset,
IntWritable length,
Mapper.Context context)
Compute the (offset+1)th to (offset+length)th digits.
|
void |
WordMedian.WordMedianReducer.reduce(IntWritable key,
Iterable<IntWritable> values,
Reducer.Context context)
Sums all the individual values within the iterator and writes them to the
same key.
|
Modifier and Type | Method and Description |
---|---|
void |
WordMedian.WordMedianReducer.reduce(IntWritable key,
Iterable<IntWritable> values,
Reducer.Context context)
Sums all the individual values within the iterator and writes them to the
same key.
|
void |
SecondarySort.Reduce.reduce(SecondarySort.IntPair key,
Iterable<IntWritable> values,
Reducer.Context context) |
void |
WordCount.IntSumReducer.reduce(Text key,
Iterable<IntWritable> values,
Reducer.Context context) |
Modifier and Type | Method and Description |
---|---|
int |
DistSum.ReduceSide.IndexPartitioner.getPartition(IntWritable index,
SummationWritable value,
int numPartitions)
Return the index as the partition.
|
protected void |
DistSum.ReduceSide.SummingReducer.reduce(IntWritable index,
Iterable<SummationWritable> sums,
Reducer.Context context) |
Modifier and Type | Method and Description |
---|---|
int |
IntWritable.compareTo(IntWritable o)
Compares two IntWritables.
|
Modifier and Type | Method and Description |
---|---|
void |
IntSumReducer.reduce(Key key,
Iterable<IntWritable> values,
Reducer.Context context) |
Modifier and Type | Method and Description |
---|---|
IntWritable |
TypedBytesWritableInput.readInt() |
IntWritable |
TypedBytesWritableInput.readInt(IntWritable iw) |
Modifier and Type | Method and Description |
---|---|
IntWritable |
TypedBytesWritableInput.readInt(IntWritable iw) |
void |
TypedBytesWritableOutput.writeInt(IntWritable iw) |
Constructor and Description |
---|
MergeSort(Comparator<IntWritable> comparator) |
Copyright © 2013 Apache Software Foundation. All rights reserved.