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