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> 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.BigDecimalSummingCombinerNested classes/interfaces inherited from class org.apache.accumulo.core.iterators.Combiner
Combiner.ValueIteratorNested 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
LOSSYFields 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, validateOptionsMethods inherited from class org.apache.accumulo.core.iterators.TypedValueCombiner
deepCopy, reduce, setEncoder, setEncoder, setLossyness, testEncoder, testEncoderMethods inherited from class org.apache.accumulo.core.iterators.Combiner
getTopKey, getTopValue, hasTop, next, seek, setColumns, setCombineAllColumns, setReduceOnFullCompactionOnlyMethods inherited from class org.apache.accumulo.core.iterators.WrappingIterator
getSource, setSourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.accumulo.core.iterators.YieldingKeyValueIterator
enableYielding
-
Constructor Details
-
BigDecimalMaxCombiner
public BigDecimalMaxCombiner()
-
-
Method Details
-
typedReduce
Description copied from class:TypedValueCombinerReduces a list of V into a single V.- Specified by:
typedReducein 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.
-