public class FunctionCombiner
extends org.apache.accumulo.core.iterators.Combiner
| Modifier and Type | Field and Description |
|---|---|
static String |
FUNCTION_CLASS |
| Constructor and Description |
|---|
FunctionCombiner() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value> source,
Map<String,String> options,
org.apache.accumulo.core.iterators.IteratorEnvironment env) |
org.apache.accumulo.core.data.Value |
reduce(org.apache.accumulo.core.data.Key key,
Iterator<org.apache.accumulo.core.data.Value> iter) |
static <T> void |
setFunctionClass(org.apache.accumulo.core.client.IteratorSetting is,
Class<? extends MetricFunction<T>> functionClazz) |
deepCopy, describeOptions, getTopKey, getTopValue, hasTop, next, seek, setColumns, setCombineAllColumns, validateOptionspublic static final String FUNCTION_CLASS
public void init(org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value> source,
Map<String,String> options,
org.apache.accumulo.core.iterators.IteratorEnvironment env)
throws IOException
init in interface org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>init in class org.apache.accumulo.core.iterators.CombinerIOExceptionpublic static <T> void setFunctionClass(org.apache.accumulo.core.client.IteratorSetting is,
Class<? extends MetricFunction<T>> functionClazz)
public org.apache.accumulo.core.data.Value reduce(org.apache.accumulo.core.data.Key key,
Iterator<org.apache.accumulo.core.data.Value> iter)
reduce in class org.apache.accumulo.core.iterators.CombinerCopyright © 2014 Calrissian. All Rights Reserved.