public interface ValueMatcherFactory
| Modifier and Type | Method and Description |
|---|---|
ValueMatcher |
makeValueMatcher(String dimension,
Comparable value)
Create a ValueMatcher that compares row values to the provided value.
|
ValueMatcher |
makeValueMatcher(String dimension,
DruidPredicateFactory predicateFactory)
Create a ValueMatcher that applies a predicate to row values.
|
ValueMatcher makeValueMatcher(String dimension, Comparable value)
dimension - The dimension to filter.value - The value to match against.ValueMatcher makeValueMatcher(String dimension, DruidPredicateFactory predicateFactory)
DruidPredicateFactory for more information.
When creating the ValueMatcher, the ValueMatcherFactory implementation should decide what type of predicate
to create from the predicate factory based on the ValueType of the specified dimension.dimension - The dimension to filter.predicateFactory - Predicate factoryCopyright © 2011–2016. All rights reserved.