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
The SegmentMetadataQuery cache key may contain UTF-8 column name strings.
|
DATASOURCE_METADATA, GROUP_BY, SCAN, 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() |
DimFilter |
getFilter() |
List<org.joda.time.Interval> |
getIntervals() |
ColumnIncluderator |
getToInclude() |
String |
getType() |
boolean |
hasAggregators() |
boolean |
hasFilters() |
int |
hashCode() |
boolean |
hasQueryGranularity() |
boolean |
hasRollup() |
boolean |
hasTimestampSpec() |
boolean |
isLenientAggregatorMerge() |
boolean |
isMerge() |
boolean |
isUsingDefaultInterval() |
String |
toString() |
Query<SegmentAnalysis> |
withColumns(ColumnIncluderator includerator) |
Query<SegmentAnalysis> |
withDataSource(DataSource dataSource) |
SegmentMetadataQuery |
withFinalizedAnalysisTypes(SegmentMetadataQueryConfig config) |
Query<SegmentAnalysis> |
withOverriddenContext(Map<String,Object> contextOverride) |
Query<SegmentAnalysis> |
withQuerySegmentSpec(QuerySegmentSpec spec) |
checkInterrupted, computeOverriddenContext, computeOverridenContext, getContext, getContextBoolean, getContextValue, getContextValue, getDataSource, getDuration, getGranularity, getId, getQuerySegmentSpec, getResultOrdering, getRunner, getTimezone, isDescending, withId
public static final byte[] ANALYSIS_TYPES_CACHE_PREFIX
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 DimFilter getFilter()
public String getType()
public EnumSet<SegmentMetadataQuery.AnalysisType> getAnalysisTypes()
public boolean isLenientAggregatorMerge()
public boolean analyzingInterval()
public boolean hasAggregators()
public boolean hasTimestampSpec()
public boolean hasQueryGranularity()
public boolean hasRollup()
public byte[] getAnalysisTypesCacheKey()
public Query<SegmentAnalysis> withOverriddenContext(Map<String,Object> contextOverride)
public Query<SegmentAnalysis> withQuerySegmentSpec(QuerySegmentSpec spec)
public Query<SegmentAnalysis> withDataSource(DataSource dataSource)
public Query<SegmentAnalysis> withColumns(ColumnIncluderator includerator)
public SegmentMetadataQuery withFinalizedAnalysisTypes(SegmentMetadataQueryConfig config)
public List<org.joda.time.Interval> getIntervals()
getIntervals
in interface Query<SegmentAnalysis>
getIntervals
in class BaseQuery<SegmentAnalysis>
public boolean equals(Object o)
equals
in class BaseQuery<SegmentAnalysis>
public int hashCode()
hashCode
in class BaseQuery<SegmentAnalysis>
Copyright © 2011–2018. All rights reserved.