Class ObjectColumnLongAggregatorWrapper
- java.lang.Object
-
- org.apache.druid.query.aggregation.DelegatingAggregator
-
- org.apache.druid.query.aggregation.ObjectColumnLongAggregatorWrapper
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Aggregator
public class ObjectColumnLongAggregatorWrapper extends DelegatingAggregator
This class can be used to wrap Long Aggregator that consume long type columns to handle Object type.
-
-
Field Summary
-
Fields inherited from class org.apache.druid.query.aggregation.DelegatingAggregator
delegate
-
-
Constructor Summary
Constructors Constructor Description ObjectColumnLongAggregatorWrapper(BaseObjectColumnValueSelector selector, Function<BaseLongColumnValueSelector,Aggregator> delegateBuilder, long nullValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaggregate()Performs aggregation.-
Methods inherited from class org.apache.druid.query.aggregation.DelegatingAggregator
close, get, getDouble, getFloat, getLong, isNull
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.druid.query.aggregation.Aggregator
aggregateWithSize
-
-
-
-
Constructor Detail
-
ObjectColumnLongAggregatorWrapper
public ObjectColumnLongAggregatorWrapper(BaseObjectColumnValueSelector selector, Function<BaseLongColumnValueSelector,Aggregator> delegateBuilder, long nullValue)
-
-
Method Detail
-
aggregate
public void aggregate()
Description copied from interface:AggregatorPerforms aggregation.- Specified by:
aggregatein interfaceAggregator- Overrides:
aggregatein classDelegatingAggregator
-
-