public interface Query<T>
| Modifier and Type | Field and Description | 
|---|---|
static String | 
DATASOURCE_METADATA  | 
static String | 
GROUP_BY  | 
static String | 
SCAN  | 
static String | 
SEARCH  | 
static String | 
SEGMENT_METADATA  | 
static String | 
SELECT  | 
static String | 
TIME_BOUNDARY  | 
static String | 
TIMESERIES  | 
static String | 
TOPN  | 
| Modifier and Type | Method and Description | 
|---|---|
Map<String,Object> | 
getContext()  | 
boolean | 
getContextBoolean(String key,
                 boolean defaultValue)  | 
<ContextType> | 
getContextValue(String key)  | 
<ContextType> | 
getContextValue(String key,
               ContextType defaultValue)  | 
DataSource | 
getDataSource()  | 
org.joda.time.Duration | 
getDuration()  | 
DimFilter | 
getFilter()  | 
Granularity | 
getGranularity()  | 
String | 
getId()  | 
List<org.joda.time.Interval> | 
getIntervals()  | 
com.google.common.collect.Ordering<T> | 
getResultOrdering()  | 
QueryRunner<T> | 
getRunner(QuerySegmentWalker walker)  | 
org.joda.time.DateTimeZone | 
getTimezone()  | 
String | 
getType()  | 
boolean | 
hasFilters()  | 
boolean | 
isDescending()  | 
Query<T> | 
withDataSource(DataSource dataSource)  | 
Query<T> | 
withId(String id)  | 
Query<T> | 
withOverriddenContext(Map<String,Object> contextOverride)  | 
Query<T> | 
withQuerySegmentSpec(QuerySegmentSpec spec)  | 
static final String TIMESERIES
static final String SEARCH
static final String TIME_BOUNDARY
static final String GROUP_BY
static final String SCAN
static final String SEGMENT_METADATA
static final String SELECT
static final String TOPN
static final String DATASOURCE_METADATA
DataSource getDataSource()
boolean hasFilters()
DimFilter getFilter()
String getType()
QueryRunner<T> getRunner(QuerySegmentWalker walker)
List<org.joda.time.Interval> getIntervals()
org.joda.time.Duration getDuration()
Granularity getGranularity()
org.joda.time.DateTimeZone getTimezone()
<ContextType> ContextType getContextValue(String key)
<ContextType> ContextType getContextValue(String key, ContextType defaultValue)
boolean getContextBoolean(String key, boolean defaultValue)
boolean isDescending()
com.google.common.collect.Ordering<T> getResultOrdering()
Query<T> withQuerySegmentSpec(QuerySegmentSpec spec)
String getId()
Query<T> withDataSource(DataSource dataSource)
Copyright © 2011–2018. All rights reserved.