public class SqlAggregationModule extends Object implements com.google.inject.Module
SqlBindings.addAggregator(com.google.inject.Binder, java.lang.Class<? extends org.apache.druid.sql.calcite.aggregation.SqlAggregator>).
To add an implementation option for APPROX_COUNT_DISTINCT, use SqlBindings.addApproxCountDistinctChoice(com.google.inject.Binder, java.lang.String, java.lang.Class<? extends org.apache.druid.sql.calcite.aggregation.SqlAggregator>).| Constructor and Description |
|---|
SqlAggregationModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(com.google.inject.Binder binder) |
ApproxCountDistinctSqlAggregator |
provideApproxCountDistinctSqlAggregator(SqlAggregator aggregator) |
public void configure(com.google.inject.Binder binder)
configure in interface com.google.inject.Module@Provides public ApproxCountDistinctSqlAggregator provideApproxCountDistinctSqlAggregator(SqlAggregator aggregator)
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.