Author: ecn
Date: Wed Dec 19 17:21:39 2012
New Revision: 1423966
URL: http://svn.apache.org/viewvc?rev=1423966&view=rev
Log:
ACCUMULO-906 clarify the fact that a Combiner only works over different versions
Modified:
accumulo/trunk/core/src/main/java/org/apache/accumulo/core/iterators/Combiner.java
Modified:
accumulo/trunk/core/src/main/java/org/apache/accumulo/core/iterators/Combiner.java
URL:
http://svn.apache.org/viewvc/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/iterators/Combiner.java?rev=1423966&r1=1423965&r2=1423966&view=diff
==============================================================================
---
accumulo/trunk/core/src/main/java/org/apache/accumulo/core/iterators/Combiner.java
(original)
+++
accumulo/trunk/core/src/main/java/org/apache/accumulo/core/iterators/Combiner.java
Wed Dec 19 17:21:39 2012
@@ -35,12 +35,13 @@ import org.apache.accumulo.core.iterator
import org.apache.log4j.Logger;
/**
- * A SortedKeyValueIterator that combines the Values for different versions of
a Key into a single Value. Combiner will replace one or more versions of a Key
+ * A SortedKeyValueIterator that combines the Values for different versions
(timestamps) of a Key into a single Value. Combiner will replace one or more
versions of a Key
* and their Values with the most recent Key and a Value which is the result
of the reduce method.
*
* Subclasses must implement a reduce method: {@code public Value reduce(Key
key, Iterator<Value> iter)}.
*
* This reduce method will be passed the most recent Key and an iterator over
the Values for all non-deleted versions of that Key.
+ * A combiner will not combine keys that differ by more than the timestamp.
*/
public abstract class Combiner extends WrappingIterator implements
OptionDescriber {
static final Logger log = Logger.getLogger(Combiner.class);