mirror of https://github.com/apache/druid.git
add segmentMetadata query type
This commit is contained in:
parent
54d8aff4d5
commit
8b55790900
|
@ -21,6 +21,7 @@ package com.metamx.druid;
|
||||||
|
|
||||||
import com.metamx.common.guava.Sequence;
|
import com.metamx.common.guava.Sequence;
|
||||||
import com.metamx.druid.query.group.GroupByQuery;
|
import com.metamx.druid.query.group.GroupByQuery;
|
||||||
|
import com.metamx.druid.query.metadata.SegmentMetadataQuery;
|
||||||
import com.metamx.druid.query.search.SearchQuery;
|
import com.metamx.druid.query.search.SearchQuery;
|
||||||
import com.metamx.druid.query.segment.QuerySegmentSpec;
|
import com.metamx.druid.query.segment.QuerySegmentSpec;
|
||||||
import com.metamx.druid.query.segment.QuerySegmentWalker;
|
import com.metamx.druid.query.segment.QuerySegmentWalker;
|
||||||
|
@ -39,7 +40,8 @@ import java.util.Map;
|
||||||
@JsonSubTypes.Type(name = Query.TIMESERIES, value = TimeseriesQuery.class),
|
@JsonSubTypes.Type(name = Query.TIMESERIES, value = TimeseriesQuery.class),
|
||||||
@JsonSubTypes.Type(name = Query.SEARCH, value = SearchQuery.class),
|
@JsonSubTypes.Type(name = Query.SEARCH, value = SearchQuery.class),
|
||||||
@JsonSubTypes.Type(name = Query.TIME_BOUNDARY, value = TimeBoundaryQuery.class),
|
@JsonSubTypes.Type(name = Query.TIME_BOUNDARY, value = TimeBoundaryQuery.class),
|
||||||
@JsonSubTypes.Type(name = "groupBy", value= GroupByQuery.class)
|
@JsonSubTypes.Type(name = "groupBy", value= GroupByQuery.class),
|
||||||
|
@JsonSubTypes.Type(name = "segmentMetadata", value= SegmentMetadataQuery.class)
|
||||||
})
|
})
|
||||||
public interface Query<T>
|
public interface Query<T>
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue