public final class LongSumAggregateCombiner extends LongAggregateCombiner
| Constructor and Description | 
|---|
LongSumAggregateCombiner()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
fold(ColumnValueSelector selector)
Folds this AggregateCombiner's state value with the value of the given selector and saves it in this
 AggregateCombiner's state, e. 
 | 
long | 
getLong()  | 
void | 
reset(ColumnValueSelector selector)
Resets this AggregateCombiner's state value to the value of the given selector, e. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinspectRuntimeShapeclassOfObject, getDouble, getFloat, getObjectpublic void reset(ColumnValueSelector selector)
AggregateCombinerObjectColumnSelector, the object returned from BaseObjectColumnValueSelector.getObject() must not be modified, and must not become a subject for
 modification during subsequent AggregateCombiner.fold(io.druid.segment.ColumnValueSelector) calls.public void fold(ColumnValueSelector selector)
AggregateCombineraggregatorFactory.combine(combiner.get*(), selector.get*()) call.
 Unlike AggregatorFactory.combine(java.lang.Object, java.lang.Object), if the selector is an ObjectColumnSelector, the
 object returned from BaseObjectColumnValueSelector.getObject() must not be modified, and must not
 become a subject for modification during subsequent fold() calls.
 Since the state of AggregateCombiner is undefined before AggregateCombiner.reset(io.druid.segment.ColumnValueSelector) is ever called on it, the effects of
 calling fold() are also undefined in this case.public long getLong()
Copyright © 2011–2018. All rights reserved.