mirror of https://github.com/apache/druid.git
Expose noop filter to users (#5597)
This commit is contained in:
parent
5d09f76df6
commit
15f4ab2b31
|
@ -487,3 +487,11 @@ Filtering on a set of ISO 8601 intervals:
|
|||
]
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
### Noop Filter
|
||||
The noop filter is a filter which applies no conditions to your query. Useful if you need to disable other filters when queries are generated programatically.
|
||||
|
||||
```json
|
||||
{ "type" : "noop" }
|
||||
```
|
|
@ -42,7 +42,8 @@ import io.druid.java.util.common.Cacheable;
|
|||
@JsonSubTypes.Type(name = "bound", value = BoundDimFilter.class),
|
||||
@JsonSubTypes.Type(name = "interval", value = IntervalDimFilter.class),
|
||||
@JsonSubTypes.Type(name = "like", value = LikeDimFilter.class),
|
||||
@JsonSubTypes.Type(name = "expression", value = ExpressionDimFilter.class)
|
||||
@JsonSubTypes.Type(name = "expression", value = ExpressionDimFilter.class),
|
||||
@JsonSubTypes.Type(name = "noop", value = NoopDimFilter.class)
|
||||
})
|
||||
public interface DimFilter extends Cacheable
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue