public class DefaultDruidFilterBuilder extends ConjunctionDruidFilterBuilder
category:
category|id-in[finance,sports],category|desc-contains[baseball]
are translated into:
AndFilter(OrFilter(select(category, finance), select(category, sports)), OrFilter(select(category, sports)))
Each filter term is resolved independently of the other filter terms.
| Constructor and Description |
|---|
DefaultDruidFilterBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected Filter |
buildDimensionFilter(Dimension dimension,
Set<ApiFilter> filters)
Take the conjunction of all the filters on a single dimension.
|
buildFilters, buildSelectorFilters, getFilteredDimensionRowsprotected Filter buildDimensionFilter(Dimension dimension, Set<ApiFilter> filters) throws DimensionRowNotFoundException
ConjunctionDruidFilterBuilderbuildDimensionFilter in class ConjunctionDruidFilterBuilderdimension - Dimension for the filtersfilters - All filters belonging to that dimensionDimensionRowNotFoundException - if we attempt to filter a dimension without dimension rowsCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.