|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SummationWritable | |
|---|---|
| org.apache.hadoop.examples.pi | This package consists of a map/reduce application, distbbp, which computes exact binary digits of the mathematical constant π. |
| Uses of SummationWritable in org.apache.hadoop.examples.pi |
|---|
| Methods in org.apache.hadoop.examples.pi that return types with arguments of type SummationWritable | |
|---|---|
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,SummationWritable> |
DistSum.Machine.AbstractInputFormat.createRecordReader(org.apache.hadoop.mapreduce.InputSplit generic,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
Specify how to read the records |
| Methods in org.apache.hadoop.examples.pi with parameters of type SummationWritable | |
|---|---|
int |
SummationWritable.compareTo(SummationWritable that)
|
int |
DistSum.ReduceSide.IndexPartitioner.getPartition(org.apache.hadoop.io.IntWritable index,
SummationWritable value,
int numPartitions)
Return the index as the partition. |
protected void |
DistSum.ReduceSide.PartitionMapper.map(org.apache.hadoop.io.NullWritable nw,
SummationWritable sigma,
org.apache.hadoop.mapreduce.Mapper.Context context)
Partitions sigma into parts |
protected void |
DistSum.MapSide.SummingMapper.map(org.apache.hadoop.io.NullWritable nw,
SummationWritable sigma,
org.apache.hadoop.mapreduce.Mapper.Context context)
|
| Method parameters in org.apache.hadoop.examples.pi with type arguments of type SummationWritable | |
|---|---|
protected void |
DistSum.ReduceSide.SummingReducer.reduce(org.apache.hadoop.io.IntWritable index,
Iterable<SummationWritable> sums,
org.apache.hadoop.mapreduce.Reducer.Context context)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||