Class BigDecimalCombiner.BigDecimalMaxCombiner
- java.lang.Object
-
- org.apache.accumulo.core.iterators.WrappingIterator
-
- org.apache.accumulo.core.iterators.Combiner
-
- org.apache.accumulo.core.iterators.TypedValueCombiner<BigDecimal>
-
- org.apache.accumulo.core.iterators.user.BigDecimalCombiner
-
- org.apache.accumulo.core.iterators.user.BigDecimalCombiner.BigDecimalMaxCombiner
-
- All Implemented Interfaces:
OptionDescriber
,SortedKeyValueIterator<Key,Value>
- Enclosing class:
- BigDecimalCombiner
public static class BigDecimalCombiner.BigDecimalMaxCombiner extends BigDecimalCombiner
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.accumulo.core.iterators.user.BigDecimalCombiner
BigDecimalCombiner.BigDecimalEncoder, BigDecimalCombiner.BigDecimalMaxCombiner, BigDecimalCombiner.BigDecimalMinCombiner, BigDecimalCombiner.BigDecimalSummingCombiner
-
Nested classes/interfaces inherited from class org.apache.accumulo.core.iterators.TypedValueCombiner
TypedValueCombiner.Encoder<V>
-
Nested classes/interfaces inherited from class org.apache.accumulo.core.iterators.Combiner
Combiner.ValueIterator
-
Nested classes/interfaces inherited from interface org.apache.accumulo.core.iterators.OptionDescriber
OptionDescriber.IteratorOptions
-
-
Field Summary
-
Fields inherited from class org.apache.accumulo.core.iterators.TypedValueCombiner
LOSSY
-
Fields inherited from class org.apache.accumulo.core.iterators.Combiner
ALL_OPTION, COLUMNS_OPTION, REDUCE_ON_FULL_COMPACTION_ONLY_OPTION
-
-
Constructor Summary
Constructors Constructor Description BigDecimalMaxCombiner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimal
typedReduce(Key key, Iterator<BigDecimal> iter)
Reduces a list of V into a single V.-
Methods inherited from class org.apache.accumulo.core.iterators.user.BigDecimalCombiner
describeOptions, init, validateOptions
-
Methods inherited from class org.apache.accumulo.core.iterators.TypedValueCombiner
deepCopy, reduce, setEncoder, setEncoder, setLossyness, testEncoder, testEncoder
-
Methods inherited from class org.apache.accumulo.core.iterators.Combiner
getTopKey, getTopValue, hasTop, next, seek, setColumns, setCombineAllColumns, setReduceOnFullCompactionOnly
-
Methods inherited from class org.apache.accumulo.core.iterators.WrappingIterator
getSource, setSource
-
-
-
-
Method Detail
-
typedReduce
public BigDecimal typedReduce(Key key, Iterator<BigDecimal> iter)
Description copied from class:TypedValueCombiner
Reduces a list of V into a single V.- Specified by:
typedReduce
in classTypedValueCombiner<BigDecimal>
- Parameters:
key
- The most recent version of the Key being reduced.iter
- An iterator over the V for different versions of the key.- Returns:
- The combined V.
-
-