public class SelectQuery extends BaseQuery<Result<SelectResultValue>>
DATASOURCE_METADATA, GROUP_BY, SEARCH, SEGMENT_METADATA, SELECT, TIME_BOUNDARY, TIMESERIES, TOPN
Constructor and Description |
---|
SelectQuery(DataSource dataSource,
QuerySegmentSpec querySegmentSpec,
DimFilter dimFilter,
QueryGranularity granularity,
List<String> dimensions,
List<String> metrics,
PagingSpec pagingSpec,
Map<String,Object> context) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<String> |
getDimensions() |
DimFilter |
getDimensionsFilter() |
QueryGranularity |
getGranularity() |
List<String> |
getMetrics() |
PagingSpec |
getPagingSpec() |
String |
getType() |
boolean |
hasFilters() |
int |
hashCode() |
String |
toString() |
Query<Result<SelectResultValue>> |
withDataSource(DataSource dataSource) |
SelectQuery |
withOverriddenContext(Map<String,Object> contextOverrides) |
SelectQuery |
withQuerySegmentSpec(QuerySegmentSpec querySegmentSpec) |
computeOverridenContext, getContext, getContextBySegment, getContextFinalize, getContextPopulateCache, getContextPriority, getContextUseCache, getContextValue, getContextValue, getDataSource, getDuration, getId, getIntervals, getQuerySegmentSpec, run, run, withId
public SelectQuery(DataSource dataSource, QuerySegmentSpec querySegmentSpec, DimFilter dimFilter, QueryGranularity granularity, List<String> dimensions, List<String> metrics, PagingSpec pagingSpec, Map<String,Object> context)
public boolean hasFilters()
public String getType()
public DimFilter getDimensionsFilter()
public QueryGranularity getGranularity()
public PagingSpec getPagingSpec()
public SelectQuery withQuerySegmentSpec(QuerySegmentSpec querySegmentSpec)
public Query<Result<SelectResultValue>> withDataSource(DataSource dataSource)
public SelectQuery withOverriddenContext(Map<String,Object> contextOverrides)
public boolean equals(Object o)
equals
in class BaseQuery<Result<SelectResultValue>>
public int hashCode()
hashCode
in class BaseQuery<Result<SelectResultValue>>
Copyright © 2011–2015. All rights reserved.