public static class BigDecimalCombiner.BigDecimalMinCombiner extends BigDecimalCombiner
BigDecimalCombiner.BigDecimalEncoder, BigDecimalCombiner.BigDecimalMaxCombiner, BigDecimalCombiner.BigDecimalMinCombiner, BigDecimalCombiner.BigDecimalSummingCombiner
TypedValueCombiner.Encoder<V>
Combiner.ValueIterator
OptionDescriber.IteratorOptions
LOSSY
ALL_OPTION, COLUMNS_OPTION, REDUCE_ON_FULL_COMPACTION_ONLY_OPTION
Constructor and Description |
---|
BigDecimalCombiner.BigDecimalMinCombiner() |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
typedReduce(Key key,
Iterator<BigDecimal> iter)
Reduces a list of V into a single V.
|
describeOptions, init, validateOptions
deepCopy, reduce, setEncoder, setEncoder, setLossyness, testEncoder, testEncoder
getTopKey, getTopValue, hasTop, next, seek, setColumns, setCombineAllColumns, setReduceOnFullCompactionOnly
getSource, setSource
public BigDecimalCombiner.BigDecimalMinCombiner()
public BigDecimal typedReduce(Key key, Iterator<BigDecimal> iter)
TypedValueCombiner
typedReduce
in class TypedValueCombiner<BigDecimal>
key
- The most recent version of the Key being reduced.iter
- An iterator over the V for different versions of the key.Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.