public class TimeBoundaryQuery extends BaseQuery<Result<TimeBoundaryResultValue>>
Modifier and Type | Field and Description |
---|---|
static String |
MAX_TIME |
static String |
MIN_TIME |
static org.joda.time.Interval |
MY_Y2K_INTERVAL |
DATASOURCE_METADATA, GROUP_BY, SEARCH, SEGMENT_METADATA, SELECT, TIME_BOUNDARY, TIMESERIES, TOPN
Constructor and Description |
---|
TimeBoundaryQuery(DataSource dataSource,
QuerySegmentSpec querySegmentSpec,
String bound,
Map<String,Object> context) |
Modifier and Type | Method and Description |
---|---|
Iterable<Result<TimeBoundaryResultValue>> |
buildResult(org.joda.time.DateTime timestamp,
org.joda.time.DateTime min,
org.joda.time.DateTime max) |
boolean |
equals(Object o) |
String |
getBound() |
byte[] |
getCacheKey() |
String |
getType() |
boolean |
hasFilters() |
int |
hashCode() |
Iterable<Result<TimeBoundaryResultValue>> |
mergeResults(List<Result<TimeBoundaryResultValue>> results) |
String |
toString() |
Query<Result<TimeBoundaryResultValue>> |
withDataSource(DataSource dataSource) |
TimeBoundaryQuery |
withOverriddenContext(Map<String,Object> contextOverrides) |
TimeBoundaryQuery |
withQuerySegmentSpec(QuerySegmentSpec spec) |
computeOverridenContext, getContext, getContextBySegment, getContextFinalize, getContextPopulateCache, getContextPriority, getContextUseCache, getContextValue, getContextValue, getDataSource, getDuration, getId, getIntervals, getQuerySegmentSpec, run, run, withId
public static final org.joda.time.Interval MY_Y2K_INTERVAL
public static final String MAX_TIME
public static final String MIN_TIME
public TimeBoundaryQuery(DataSource dataSource, QuerySegmentSpec querySegmentSpec, String bound, Map<String,Object> context)
public boolean hasFilters()
public String getType()
public String getBound()
public TimeBoundaryQuery withOverriddenContext(Map<String,Object> contextOverrides)
public TimeBoundaryQuery withQuerySegmentSpec(QuerySegmentSpec spec)
public Query<Result<TimeBoundaryResultValue>> withDataSource(DataSource dataSource)
public byte[] getCacheKey()
public Iterable<Result<TimeBoundaryResultValue>> buildResult(org.joda.time.DateTime timestamp, org.joda.time.DateTime min, org.joda.time.DateTime max)
public Iterable<Result<TimeBoundaryResultValue>> mergeResults(List<Result<TimeBoundaryResultValue>> results)
public boolean equals(Object o)
equals
in class BaseQuery<Result<TimeBoundaryResultValue>>
public int hashCode()
hashCode
in class BaseQuery<Result<TimeBoundaryResultValue>>
Copyright © 2011–2015. All rights reserved.