public final class InternalAggregationFunction extends Object
Constructor and Description |
---|
InternalAggregationFunction(String name,
List<Type> parameterTypes,
List<Type> intermediateType,
Type finalType,
boolean decomposable,
boolean orderSensitive,
AccumulatorFactoryBinder factory) |
InternalAggregationFunction(String name,
List<Type> parameterTypes,
List<Type> intermediateType,
Type finalType,
boolean decomposable,
boolean orderSensitive,
AccumulatorFactoryBinder factory,
List<Class> lambdaInterfaces) |
Modifier and Type | Method and Description |
---|---|
AccumulatorFactory |
bind(List<Integer> inputChannels,
Optional<Integer> maskChannel) |
AccumulatorFactory |
bind(List<Integer> inputChannels,
Optional<Integer> maskChannel,
List<Type> sourceTypes,
List<Integer> orderByChannels,
List<SortOrder> orderings,
PagesIndex.Factory pagesIndexFactory,
boolean distinct,
JoinCompiler joinCompiler,
List<LambdaProvider> lambdaProviders,
Session session) |
AccumulatorFactoryBinder |
getAccumulatorFactoryBinder() |
Type |
getFinalType() |
Type |
getIntermediateType() |
List<Class> |
getLambdaInterfaces() |
List<Type> |
getParameterTypes() |
boolean |
isDecomposable()
Indicates that the aggregation can be decomposed, and run as partial aggregations followed by a final aggregation to combine the intermediate results
|
boolean |
isOrderSensitive()
Indicates that the aggregation is sensitive to input order
|
String |
name() |
public InternalAggregationFunction(String name, List<Type> parameterTypes, List<Type> intermediateType, Type finalType, boolean decomposable, boolean orderSensitive, AccumulatorFactoryBinder factory)
public String name()
public Type getFinalType()
public Type getIntermediateType()
public boolean isDecomposable()
public boolean isOrderSensitive()
public AccumulatorFactory bind(List<Integer> inputChannels, Optional<Integer> maskChannel)
public AccumulatorFactory bind(List<Integer> inputChannels, Optional<Integer> maskChannel, List<Type> sourceTypes, List<Integer> orderByChannels, List<SortOrder> orderings, PagesIndex.Factory pagesIndexFactory, boolean distinct, JoinCompiler joinCompiler, List<LambdaProvider> lambdaProviders, Session session)
public AccumulatorFactoryBinder getAccumulatorFactoryBinder()
Copyright © 2012–2019. All rights reserved.