public class CollectTuplesOfPrimitivesReduceOperation extends KryoWrappedReduceOperation<List<Object>,List<WArrayList>>
Constructor and Description |
---|
CollectTuplesOfPrimitivesReduceOperation()
For reflection only
|
CollectTuplesOfPrimitivesReduceOperation(List<PrimitiveTypeOps> typeOpsList) |
Modifier and Type | Method and Description |
---|---|
List<WArrayList> |
createValue()
Look at ReduceOperation.createValue.
|
void |
readFields(DataInput in) |
void |
reduce(List<WArrayList> reduceInto,
List<Object> value)
Look at ReduceOperation.reduce.
|
void |
reduceMerge(List<WArrayList> reduceInto,
List<WArrayList> toReduce)
Look at ReduceOperation.reduceMerge.
|
void |
write(DataOutput out) |
createInitialValue, reduce, reduceMerge
public CollectTuplesOfPrimitivesReduceOperation()
public CollectTuplesOfPrimitivesReduceOperation(List<PrimitiveTypeOps> typeOpsList)
public List<WArrayList> createValue()
KryoWrappedReduceOperation
createValue
in class KryoWrappedReduceOperation<List<Object>,List<WArrayList>>
public void reduce(List<WArrayList> reduceInto, List<Object> value)
KryoWrappedReduceOperation
reduce
in class KryoWrappedReduceOperation<List<Object>,List<WArrayList>>
reduceInto
- Partial value into which to reduce and store the resultvalue
- Single value to be reducedpublic void reduceMerge(List<WArrayList> reduceInto, List<WArrayList> toReduce)
KryoWrappedReduceOperation
reduceMerge
in class KryoWrappedReduceOperation<List<Object>,List<WArrayList>>
reduceInto
- Partial value into which to reduce and store the resulttoReduce
- Partial value to be reducedpublic void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
write
in class KryoWrappedReduceOperation<List<Object>,List<WArrayList>>
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
readFields
in class KryoWrappedReduceOperation<List<Object>,List<WArrayList>>
IOException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.