public class SegmentMetadataQuery extends BaseQuery<SegmentAnalysis>
Modifier and Type | Class and Description |
---|---|
static class |
SegmentMetadataQuery.AnalysisType |
Modifier and Type | Field and Description |
---|---|
static byte[] |
ANALYSIS_TYPES_CACHE_PREFIX |
static EnumSet<SegmentMetadataQuery.AnalysisType> |
DEFAULT_ANALYSIS_TYPES |
static org.joda.time.Interval |
DEFAULT_INTERVAL |
DATASOURCE_METADATA, GROUP_BY, SEARCH, SEGMENT_METADATA, SELECT, TIME_BOUNDARY, TIMESERIES, TOPN
Constructor and Description |
---|
SegmentMetadataQuery(DataSource dataSource,
QuerySegmentSpec querySegmentSpec,
ColumnIncluderator toInclude,
Boolean merge,
Map<String,Object> context,
EnumSet<SegmentMetadataQuery.AnalysisType> analysisTypes,
Boolean useDefaultInterval,
Boolean lenientAggregatorMerge) |
Modifier and Type | Method and Description |
---|---|
boolean |
analyzingInterval() |
boolean |
equals(Object o) |
EnumSet<SegmentMetadataQuery.AnalysisType> |
getAnalysisTypes() |
byte[] |
getAnalysisTypesCacheKey() |
ColumnIncluderator |
getToInclude() |
String |
getType() |
boolean |
hasAggregators() |
boolean |
hasFilters() |
int |
hashCode() |
boolean |
isLenientAggregatorMerge() |
boolean |
isMerge() |
boolean |
isUsingDefaultInterval() |
String |
toString() |
Query<SegmentAnalysis> |
withDataSource(DataSource dataSource) |
Query<SegmentAnalysis> |
withOverriddenContext(Map<String,Object> contextOverride) |
Query<SegmentAnalysis> |
withQuerySegmentSpec(QuerySegmentSpec spec) |
computeOverridenContext, getContext, getContextBySegment, getContextFinalize, getContextPopulateCache, getContextPriority, getContextUncoveredIntervalsLimit, getContextUseCache, getContextValue, getContextValue, getDataSource, getDuration, getId, getIntervals, getQuerySegmentSpec, getResultOrdering, isDescending, run, run, withId
public static final byte[] ANALYSIS_TYPES_CACHE_PREFIX
public static final org.joda.time.Interval DEFAULT_INTERVAL
public static final EnumSet<SegmentMetadataQuery.AnalysisType> DEFAULT_ANALYSIS_TYPES
public SegmentMetadataQuery(DataSource dataSource, QuerySegmentSpec querySegmentSpec, ColumnIncluderator toInclude, Boolean merge, Map<String,Object> context, EnumSet<SegmentMetadataQuery.AnalysisType> analysisTypes, Boolean useDefaultInterval, Boolean lenientAggregatorMerge)
public ColumnIncluderator getToInclude()
public boolean isMerge()
public boolean isUsingDefaultInterval()
public boolean hasFilters()
public String getType()
public EnumSet<SegmentMetadataQuery.AnalysisType> getAnalysisTypes()
public boolean isLenientAggregatorMerge()
public boolean analyzingInterval()
public boolean hasAggregators()
public byte[] getAnalysisTypesCacheKey()
public Query<SegmentAnalysis> withOverriddenContext(Map<String,Object> contextOverride)
public Query<SegmentAnalysis> withQuerySegmentSpec(QuerySegmentSpec spec)
public Query<SegmentAnalysis> withDataSource(DataSource dataSource)
public boolean equals(Object o)
equals
in class BaseQuery<SegmentAnalysis>
public int hashCode()
hashCode
in class BaseQuery<SegmentAnalysis>
Copyright © 2011–2016. All rights reserved.