Package | Description |
---|---|
io.druid.query.dimension | |
io.druid.query.groupby | |
io.druid.query.groupby.orderby | |
io.druid.query.topn | |
io.druid.sql.antlr4 |
Modifier and Type | Class and Description |
---|---|
class |
DefaultDimensionSpec |
class |
ExtractionDimensionSpec |
class |
LegacyDimensionSpec |
Modifier and Type | Method and Description |
---|---|
static Collection<DimensionSpec> |
GroupByQueryQueryToolChest.extractionsToRewrite(GroupByQuery query)
This function checks the query for dimensions which can be optimized by applying the dimension extraction
as the final step of the query instead of on every event.
|
List<DimensionSpec> |
GroupByQuery.getDimensions() |
Modifier and Type | Method and Description |
---|---|
GroupByQuery.Builder |
GroupByQuery.Builder.addDimension(DimensionSpec dimension) |
Modifier and Type | Method and Description |
---|---|
GroupByQuery.Builder |
GroupByQuery.Builder.setDimensions(List<DimensionSpec> dimensions) |
GroupByQuery |
GroupByQuery.withDimensionSpecs(List<DimensionSpec> dimensionSpecs) |
Constructor and Description |
---|
GroupByQuery(DataSource dataSource,
QuerySegmentSpec querySegmentSpec,
DimFilter dimFilter,
QueryGranularity granularity,
List<DimensionSpec> dimensions,
List<AggregatorFactory> aggregatorSpecs,
List<PostAggregator> postAggregatorSpecs,
HavingSpec havingSpec,
LimitSpec limitSpec,
Map<String,Object> context) |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Function<com.metamx.common.guava.Sequence<io.druid.data.input.Row>,com.metamx.common.guava.Sequence<io.druid.data.input.Row>> |
NoopLimitSpec.build(List<DimensionSpec> dimensions,
List<AggregatorFactory> aggs,
List<PostAggregator> postAggs) |
com.google.common.base.Function<com.metamx.common.guava.Sequence<io.druid.data.input.Row>,com.metamx.common.guava.Sequence<io.druid.data.input.Row>> |
LimitSpec.build(List<DimensionSpec> dimensions,
List<AggregatorFactory> aggs,
List<PostAggregator> postAggs) |
com.google.common.base.Function<com.metamx.common.guava.Sequence<io.druid.data.input.Row>,com.metamx.common.guava.Sequence<io.druid.data.input.Row>> |
DefaultLimitSpec.build(List<DimensionSpec> dimensions,
List<AggregatorFactory> aggs,
List<PostAggregator> postAggs) |
Modifier and Type | Method and Description |
---|---|
DimensionSpec |
TopNQueryBuilder.getDimensionSpec() |
DimensionSpec |
TopNQuery.getDimensionSpec() |
Modifier and Type | Method and Description |
---|---|
TopNQueryBuilder |
TopNQueryBuilder.dimension(DimensionSpec d) |
String |
TopNMetricSpec.getMetricName(DimensionSpec dimSpec) |
String |
NumericTopNMetricSpec.getMetricName(DimensionSpec dimSpec) |
String |
LexicographicTopNMetricSpec.getMetricName(DimensionSpec dimSpec) |
String |
InvertedTopNMetricSpec.getMetricName(DimensionSpec dimSpec) |
TopNResultBuilder |
TopNMetricSpec.getResultBuilder(org.joda.time.DateTime timestamp,
DimensionSpec dimSpec,
int threshold,
Comparator comparator,
List<AggregatorFactory> aggFactories,
List<PostAggregator> postAggs) |
TopNResultBuilder |
NumericTopNMetricSpec.getResultBuilder(org.joda.time.DateTime timestamp,
DimensionSpec dimSpec,
int threshold,
Comparator comparator,
List<AggregatorFactory> aggFactories,
List<PostAggregator> postAggs) |
TopNResultBuilder |
LexicographicTopNMetricSpec.getResultBuilder(org.joda.time.DateTime timestamp,
DimensionSpec dimSpec,
int threshold,
Comparator comparator,
List<AggregatorFactory> aggFactories,
List<PostAggregator> postAggs) |
TopNResultBuilder |
InvertedTopNMetricSpec.getResultBuilder(org.joda.time.DateTime timestamp,
DimensionSpec dimSpec,
int threshold,
Comparator comparator,
List<AggregatorFactory> aggFactories,
List<PostAggregator> postAggs) |
TopNQuery |
TopNQuery.withDimensionSpec(DimensionSpec spec) |
Constructor and Description |
---|
TopNBinaryFn(TopNResultMerger merger,
QueryGranularity granularity,
DimensionSpec dimSpec,
TopNMetricSpec topNMetricSpec,
int threshold,
List<AggregatorFactory> aggregatorSpecs,
List<PostAggregator> postAggregatorSpecs) |
TopNLexicographicResultBuilder(org.joda.time.DateTime timestamp,
DimensionSpec dimSpec,
int threshold,
String previousStop,
Comparator comparator,
List<AggregatorFactory> aggFactories) |
TopNNumericResultBuilder(org.joda.time.DateTime timestamp,
DimensionSpec dimSpec,
String metricName,
int threshold,
Comparator comparator,
List<AggregatorFactory> aggFactories,
List<PostAggregator> postAggs) |
TopNQuery(DataSource dataSource,
DimensionSpec dimensionSpec,
TopNMetricSpec topNMetricSpec,
int threshold,
QuerySegmentSpec querySegmentSpec,
DimFilter dimFilter,
QueryGranularity granularity,
List<AggregatorFactory> aggregatorSpecs,
List<PostAggregator> postAggregatorSpecs,
Map<String,Object> context) |
Modifier and Type | Field and Description |
---|---|
Map<String,DimensionSpec> |
DruidSQLParser.groupByDimensions |
Copyright © 2011–2015. All rights reserved.