public interface Query<T>
Modifier and Type | Field and Description |
---|---|
static String |
DATASOURCE_METADATA |
static String |
GROUP_BY |
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() |
String |
getId() |
List<org.joda.time.Interval> |
getIntervals() |
com.google.common.collect.Ordering<T> |
getResultOrdering() |
String |
getType() |
boolean |
hasFilters() |
boolean |
isDescending() |
Sequence<T> |
run(QueryRunner<T> runner,
Map<String,Object> context) |
Sequence<T> |
run(QuerySegmentWalker walker,
Map<String,Object> context) |
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 SEGMENT_METADATA
static final String SELECT
static final String TOPN
static final String DATASOURCE_METADATA
DataSource getDataSource()
boolean hasFilters()
DimFilter getFilter()
String getType()
List<org.joda.time.Interval> getIntervals()
org.joda.time.Duration getDuration()
<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–2017. All rights reserved.