Modifier and Type | Class and Description |
---|---|
static class |
GroupByQuery.Builder |
DATASOURCE_METADATA, GROUP_BY, SEARCH, SEGMENT_METADATA, SELECT, TIME_BOUNDARY, TIMESERIES, TOPN
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.metamx.common.guava.Sequence<io.druid.data.input.Row> |
applyLimit(com.metamx.common.guava.Sequence<io.druid.data.input.Row> results) |
static GroupByQuery.Builder |
builder() |
boolean |
equals(Object o) |
List<AggregatorFactory> |
getAggregatorSpecs() |
List<DimensionSpec> |
getDimensions() |
DimFilter |
getDimFilter() |
QueryGranularity |
getGranularity() |
HavingSpec |
getHavingSpec() |
LimitSpec |
getLimitSpec() |
List<PostAggregator> |
getPostAggregatorSpecs() |
String |
getType() |
boolean |
hasFilters() |
int |
hashCode() |
String |
toString() |
Query<io.druid.data.input.Row> |
withDataSource(DataSource dataSource) |
GroupByQuery |
withDimensionSpecs(List<DimensionSpec> dimensionSpecs) |
GroupByQuery |
withOverriddenContext(Map<String,Object> contextOverride) |
GroupByQuery |
withQuerySegmentSpec(QuerySegmentSpec spec) |
computeOverridenContext, getContext, getContextBySegment, getContextFinalize, getContextPopulateCache, getContextPriority, getContextUseCache, getContextValue, getContextValue, getDataSource, getDuration, getId, getIntervals, getQuerySegmentSpec, run, run, withId
public 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)
public static GroupByQuery.Builder builder()
public DimFilter getDimFilter()
public QueryGranularity getGranularity()
public List<DimensionSpec> getDimensions()
public List<AggregatorFactory> getAggregatorSpecs()
public List<PostAggregator> getPostAggregatorSpecs()
public HavingSpec getHavingSpec()
public LimitSpec getLimitSpec()
public boolean hasFilters()
public String getType()
public com.metamx.common.guava.Sequence<io.druid.data.input.Row> applyLimit(com.metamx.common.guava.Sequence<io.druid.data.input.Row> results)
public GroupByQuery withOverriddenContext(Map<String,Object> contextOverride)
public GroupByQuery withQuerySegmentSpec(QuerySegmentSpec spec)
public Query<io.druid.data.input.Row> withDataSource(DataSource dataSource)
public GroupByQuery withDimensionSpecs(List<DimensionSpec> dimensionSpecs)
public boolean equals(Object o)
Copyright © 2011–2015. All rights reserved.