public class AndReduce extends ReduceSameTypeOperation<org.apache.hadoop.io.BooleanWritable>
| Constructor and Description | 
|---|
| AndReduce() | 
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.hadoop.io.BooleanWritable | createInitialValue()Return new reduced value which is neutral to reduce operation. | 
| void | readFields(DataInput in) | 
| org.apache.hadoop.io.BooleanWritable | reduce(org.apache.hadoop.io.BooleanWritable curValue,
      org.apache.hadoop.io.BooleanWritable valueToReduce)Add a new value. | 
| void | write(DataOutput out) | 
reduceMergepublic static final AndReduce INSTANCE
public org.apache.hadoop.io.BooleanWritable createInitialValue()
ReduceOperationpublic org.apache.hadoop.io.BooleanWritable reduce(org.apache.hadoop.io.BooleanWritable curValue,
                                                   org.apache.hadoop.io.BooleanWritable valueToReduce)
ReduceOperationcurValue - Partial value into which to reduce and store the resultvalueToReduce - Single value to be reducedpublic void write(DataOutput out) throws IOException
IOExceptionpublic void readFields(DataInput in) throws IOException
IOExceptionCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.