Class BigDecimalCombiner.BigDecimalSummingCombiner
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.BigDecimalSummingCombiner
- All Implemented Interfaces:
OptionDescriber
,SortedKeyValueIterator<Key,
,Value> YieldingKeyValueIterator<Key,
Value>
- Enclosing class:
- 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.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 -
Method Summary
Modifier and TypeMethodDescriptiontypedReduce
(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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.accumulo.core.iterators.YieldingKeyValueIterator
enableYielding
-
Constructor Details
-
BigDecimalSummingCombiner
public BigDecimalSummingCombiner()
-
-
Method Details
-
typedReduce
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.
-