public class StatsCombiner extends Combiner
Combiner for more information on which values are combined together. See docs/examples/README.combiner for instructions.Combiner.ValueIteratorOptionDescriber.IteratorOptions| Modifier and Type | Field and Description |
|---|---|
static String |
RADIX_OPTION |
ALL_OPTION, COLUMNS_OPTION| Constructor and Description |
|---|
StatsCombiner() |
| Modifier and Type | Method and Description |
|---|---|
OptionDescriber.IteratorOptions |
describeOptions() |
void |
init(SortedKeyValueIterator<Key,Value> source,
Map<String,String> options,
IteratorEnvironment env) |
Value |
reduce(Key key,
Iterator<Value> iter) |
static void |
setRadix(IteratorSetting iterConfig,
int base)
A convenience method for setting the expected base/radix of the numbers
|
boolean |
validateOptions(Map<String,String> options) |
deepCopy, getTopKey, getTopValue, hasTop, next, seek, setColumns, setCombineAllColumnsgetSource, setSourcepublic static final String RADIX_OPTION
public void init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env) throws IOException
init in interface SortedKeyValueIterator<Key,Value>init in class CombinerIOExceptionpublic OptionDescriber.IteratorOptions describeOptions()
describeOptions in interface OptionDescriberdescribeOptions in class Combinerpublic boolean validateOptions(Map<String,String> options)
validateOptions in interface OptionDescribervalidateOptions in class Combinerpublic static void setRadix(IteratorSetting iterConfig, int base)
iterConfig - Iterator settings to configurebase - The expected base/radix of the numbers.Copyright © 2015 Apache Accumulo Project. All rights reserved.