mirror of https://github.com/apache/druid.git
1) Register SearchQueryDimFilter with DimFilter so that it can actually be used.
This commit is contained in:
parent
4bc721f3b3
commit
62ea45f2c9
|
@ -31,7 +31,8 @@ import org.codehaus.jackson.annotate.JsonTypeInfo;
|
|||
@JsonSubTypes.Type(name="not", value=NotDimFilter.class),
|
||||
@JsonSubTypes.Type(name="selector", value=SelectorDimFilter.class),
|
||||
@JsonSubTypes.Type(name="extraction", value=ExtractionDimFilter.class),
|
||||
@JsonSubTypes.Type(name="regex", value=RegexDimFilter.class)
|
||||
@JsonSubTypes.Type(name="regex", value=RegexDimFilter.class),
|
||||
@JsonSubTypes.Type(name="search", value=SearchQueryDimFilter.class)
|
||||
})
|
||||
public interface DimFilter
|
||||
{
|
||||
|
|
|
@ -34,7 +34,7 @@ public class SearchQueryDimFilter implements DimFilter
|
|||
|
||||
public SearchQueryDimFilter(
|
||||
@JsonProperty("dimension") String dimension,
|
||||
@JsonProperty("query")SearchQuerySpec query
|
||||
@JsonProperty("query") SearchQuerySpec query
|
||||
)
|
||||
{
|
||||
this.dimension = dimension;
|
||||
|
|
Loading…
Reference in New Issue