org.apache.accumulo.core.iterators.user
Class BigDecimalCombiner.BigDecimalMaxCombiner

java.lang.Object
  extended by org.apache.accumulo.core.iterators.WrappingIterator
      extended by org.apache.accumulo.core.iterators.Combiner
          extended by org.apache.accumulo.core.iterators.TypedValueCombiner<BigDecimal>
              extended by org.apache.accumulo.core.iterators.user.BigDecimalCombiner
                  extended by 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
 
Constructor Summary
BigDecimalCombiner.BigDecimalMaxCombiner()
           
 
Method Summary
 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
 
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
 

Constructor Detail

BigDecimalCombiner.BigDecimalMaxCombiner

public BigDecimalCombiner.BigDecimalMaxCombiner()
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 class TypedValueCombiner<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.


Copyright © 2015 Apache Accumulo Project. All rights reserved.