Class LongLeastPostAggregator
java.lang.Object
org.apache.druid.query.aggregation.post.LongLeastPostAggregator
- All Implemented Interfaces:
Cacheable,PostAggregator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecorate(Map<String, AggregatorFactory> aggregators) Allows returning an enriched post aggregator, built from contextual information available from the given map ofAggregatorFactorykeyed by their names.booleanbyte[]Get a byte array used as a cache key.getName()getType(ColumnInspector signature) Return the output type of a row processed with this post aggregator.inthashCode()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.druid.query.aggregation.PostAggregator
getType
-
Constructor Details
-
LongLeastPostAggregator
-
-
Method Details
-
getDependentFields
- Specified by:
getDependentFieldsin interfacePostAggregator
-
getComparator
- Specified by:
getComparatorin interfacePostAggregator
-
compute
- Specified by:
computein interfacePostAggregator
-
getName
- Specified by:
getNamein interfacePostAggregator
-
getType
Description copied from interface:PostAggregatorReturn the output type of a row processed with this post aggregator. Refer to theColumnTypejavadocs for details on the implications of choosing a type.- Specified by:
getTypein interfacePostAggregator- Parameters:
signature-
-
decorate
Description copied from interface:PostAggregatorAllows returning an enriched post aggregator, built from contextual information available from the given map ofAggregatorFactorykeyed by their names. Callers must call this method before callingPostAggregator.compute(java.util.Map<java.lang.String, java.lang.Object>)orPostAggregator.getComparator(). This is typically done in the constructor of queries which support post aggregators, viaQueries.prepareAggregations(java.util.List<org.apache.druid.query.aggregation.AggregatorFactory>, java.util.List<org.apache.druid.query.aggregation.PostAggregator>).- Specified by:
decoratein interfacePostAggregator
-
getFields
-
toString
-
equals
-
hashCode
public int hashCode() -
getCacheKey
public byte[] getCacheKey()Description copied from interface:CacheableGet a byte array used as a cache key.- Specified by:
getCacheKeyin interfaceCacheable- Returns:
- bytes to be used as cache key - or null if this object should not be cached.
-