public class StringLastFoldingAggregatorFactory extends StringLastAggregatorFactory
maxStringBytes, TYPE| Constructor and Description |
|---|
StringLastFoldingAggregatorFactory(String name,
String fieldName,
Integer maxStringBytes) |
| Modifier and Type | Method and Description |
|---|---|
AggregatorFactory |
withName(String newName)
Used in cases where we want to change the output name of the aggregator to something else.
|
canVectorize, combine, deserialize, equals, factorize, factorizeBuffered, factorizeVector, finalizeComputation, getCacheKey, getCombiningFactory, getComparator, getFieldName, getIntermediateType, getMaxIntermediateSize, getMaxStringBytes, getName, getRequiredColumns, getResultType, getTimeColumn, hashCode, makeAggregateCombiner, requiredFields, toStringfactorizeWithSize, getComplexTypeName, getFinalizedType, getMaxIntermediateSizeWithNulls, getMergingFactory, getType, guessAggregatorHeapFootprint, makeNullableAggregateCombiner, mergeAggregators, optimizeForSegmentpublic AggregatorFactory withName(String newName)
AggregatorFactoryorg.apache.druid.sql.calcite.rel.DruidQuery#computeAggregations. We can use withName("total") to set the output name
of the aggregator to "total".
As all implementations of this interface method may not exist, callers of this method are advised to handle such a case.
withName in class StringLastAggregatorFactorynewName - newName of the output for aggregator factoryCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.