org.apache.accumulo.server.test.functional
Class BadCombiner
java.lang.Object
org.apache.accumulo.core.iterators.WrappingIterator
org.apache.accumulo.core.iterators.Combiner
org.apache.accumulo.server.test.functional.BadCombiner
- All Implemented Interfaces:
- OptionDescriber, SortedKeyValueIterator<Key,Value>
public class BadCombiner
- extends Combiner
Methods inherited from class org.apache.accumulo.core.iterators.Combiner |
deepCopy, describeOptions, getTopKey, getTopValue, hasTop, init, next, seek, setColumns, setCombineAllColumns, validateOptions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BadCombiner
public BadCombiner()
reduce
public Value reduce(Key key,
Iterator<Value> iter)
- Description copied from class:
Combiner
- Reduces a list of Values into a single Value.
- Specified by:
reduce
in class Combiner
- Parameters:
key
- The most recent version of the Key being reduced.iter
- An iterator over the Values for different versions of the key.
- Returns:
- The combined Value.
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.