From 8b55790900cfa4940a0be63efed2412dd0329e09 Mon Sep 17 00:00:00 2001 From: xvrl Date: Tue, 18 Dec 2012 10:15:23 -0800 Subject: [PATCH] add segmentMetadata query type --- client/src/main/java/com/metamx/druid/Query.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/main/java/com/metamx/druid/Query.java b/client/src/main/java/com/metamx/druid/Query.java index b553dd46855..bd1dc49702a 100644 --- a/client/src/main/java/com/metamx/druid/Query.java +++ b/client/src/main/java/com/metamx/druid/Query.java @@ -21,6 +21,7 @@ package com.metamx.druid; import com.metamx.common.guava.Sequence; 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.segment.QuerySegmentSpec; 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.SEARCH, value = SearchQuery.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 {