public abstract class SimpleLongAggregatorFactory extends NullableAggregatorFactory<BaseLongColumnValueSelector>
| Modifier and Type | Field and Description |
|---|---|
protected String |
expression |
protected String |
fieldName |
protected ExprMacroTable |
macroTable |
protected String |
name |
| Constructor and Description |
|---|
SimpleLongAggregatorFactory(ExprMacroTable macroTable,
String name,
String fieldName,
String expression) |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(Object object)
A method that knows how to "deserialize" the object from whatever form it might have been put into
in order to transfer via JSON.
|
boolean |
equals(Object o) |
Object |
finalizeComputation(Object object)
"Finalizes" the computation of an object.
|
Comparator |
getComparator() |
String |
getExpression() |
String |
getFieldName() |
int |
getMaxIntermediateSize()
Returns the maximum size that this aggregator will require in bytes for intermediate storage of results.
|
AggregatorFactory |
getMergingFactory(AggregatorFactory other)
Returns an AggregatorFactory that can be used to merge the output of aggregators from this factory and
other factory.
|
String |
getName() |
String |
getTypeName() |
int |
hashCode() |
List<String> |
requiredFields() |
factorize, factorize, factorizeBuffered, factorizeBuffered, getMaxIntermediateSizeWithNulls, makeNullableAggregateCombiner, selectorcombine, getCombiningFactory, getRequiredColumns, makeAggregateCombiner, mergeAggregators, optimizeForSegmentclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetCacheKeyprotected final String name
protected final ExprMacroTable macroTable
public Object deserialize(Object object)
AggregatorFactorydeserialize in class AggregatorFactoryobject - the object to deserializepublic String getTypeName()
getTypeName in class AggregatorFactorypublic int getMaxIntermediateSize()
AggregatorFactorygetMaxIntermediateSize in class AggregatorFactorypublic Comparator getComparator()
getComparator in class AggregatorFactory@Nullable public Object finalizeComputation(@Nullable Object object)
AggregatorFactoryfinalizeComputation in class AggregatorFactoryobject - the object to be finalizedpublic List<String> requiredFields()
requiredFields in class AggregatorFactorypublic AggregatorFactory getMergingFactory(AggregatorFactory other) throws AggregatorFactoryNotMergeableException
AggregatorFactorygetMergingFactory in class AggregatorFactoryAggregatorFactoryNotMergeableExceptionpublic String getName()
getName in class AggregatorFactoryCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.