Package | Description |
---|---|
com.yahoo.bard.webservice.data | |
com.yahoo.bard.webservice.data.filterbuilders | |
com.yahoo.bard.webservice.web |
Modifier and Type | Method and Description |
---|---|
DruidAggregationQuery<?> |
DruidQueryBuilder.buildQuery(DataApiRequest request,
TemplateDruidQuery template)
Build a druid query object from an API request and it's templateDruidQuery.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Filter |
ConjunctionDruidFilterBuilder.buildDimensionFilter(Dimension dimension,
Set<ApiFilter> filters)
Take the conjunction of all the filters on a single dimension.
|
protected Filter |
ConsolidatingDruidFilterBuilder.buildDimensionFilter(Dimension dimension,
Set<ApiFilter> filters) |
protected Filter |
DefaultDruidFilterBuilder.buildDimensionFilter(Dimension dimension,
Set<ApiFilter> filters) |
Filter |
ConjunctionDruidFilterBuilder.buildFilters(Map<Dimension,Set<ApiFilter>> filterMap) |
Filter |
DruidFilterBuilder.buildFilters(Map<Dimension,Set<ApiFilter>> filterMap)
Combines the filters for a set of dimensions into a single Druid filter.
|
protected Set<DimensionRow> |
ConjunctionDruidFilterBuilder.getFilteredDimensionRows(Dimension dimension,
Set<ApiFilter> filters)
Resolves a set of ApiFilters into a list of dimension rows that need to be filtered in Druid.
|
Modifier and Type | Method and Description |
---|---|
Set<FilteredAggregation> |
FilteredSketchMetricsHelper.getFilteredAggregation(com.fasterxml.jackson.databind.JsonNode filter,
Aggregation aggregation,
DimensionDictionary dimensionDictionary,
LogicalTable table,
DataApiRequest apiRequest)
Deprecated.
|
Set<FilteredAggregation> |
MetricsFilterSetBuilder.getFilteredAggregation(com.fasterxml.jackson.databind.JsonNode filter,
Aggregation aggregation,
DimensionDictionary dimensionDictionary,
LogicalTable table,
DataApiRequest apiRequest)
For a given aggregator, this method applies the filter and returns a set of filtered aggregations.
|
Set<FilteredAggregation> |
FilteredThetaSketchMetricsHelper.getFilteredAggregation(com.fasterxml.jackson.databind.JsonNode filter,
Aggregation aggregation,
DimensionDictionary dimensionDictionary,
LogicalTable table,
DataApiRequest apiRequest) |
LogicalMetric |
FilteredSketchMetricsHelper.getFilteredLogicalMetric(LogicalMetric logicalMetric,
com.fasterxml.jackson.databind.JsonNode metricFilterObject,
DimensionDictionary dimensionDictionary,
LogicalTable table,
DataApiRequest apiRequest)
Deprecated.
|
LogicalMetric |
MetricsFilterSetBuilder.getFilteredLogicalMetric(LogicalMetric logicalMetric,
com.fasterxml.jackson.databind.JsonNode metricFilterObject,
DimensionDictionary dimensionDictionary,
LogicalTable table,
DataApiRequest apiRequest)
Provides filter wrapped logical metric for the given logical metric.
|
LogicalMetric |
FilteredThetaSketchMetricsHelper.getFilteredLogicalMetric(LogicalMetric logicalMetric,
com.fasterxml.jackson.databind.JsonNode metricFilterObject,
DimensionDictionary dimensionDictionary,
LogicalTable table,
DataApiRequest apiRequest) |
TemplateDruidQuery |
FilteredSketchMetricsHelper.updateTemplateDruidQuery(TemplateDruidQuery query,
com.fasterxml.jackson.databind.JsonNode metricFilterObject,
DimensionDictionary dimensionDictionary,
LogicalTable table,
DataApiRequest apiRequest)
Deprecated.
|
TemplateDruidQuery |
MetricsFilterSetBuilder.updateTemplateDruidQuery(TemplateDruidQuery query,
com.fasterxml.jackson.databind.JsonNode metricFilterObject,
DimensionDictionary dimensionDictionary,
LogicalTable table,
DataApiRequest apiRequest)
Method to update a given query by changing aggregators to filteredAggregators and updating postAggs to reference
the filteredAggregators.
|
TemplateDruidQuery |
FilteredThetaSketchMetricsHelper.updateTemplateDruidQuery(TemplateDruidQuery query,
com.fasterxml.jackson.databind.JsonNode metricFilterObject,
DimensionDictionary dimensionDictionary,
LogicalTable table,
DataApiRequest apiRequest) |
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.