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 |
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)
default Query<T> optimizeForSegment(PerSegmentQueryOptimizationContext optimizationContext)
default List<org.joda.time.Interval> getIntervalsOfInnerMostQuery()
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.