Skip to content

Commit

Permalink
renamed getFilter to getDruidFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
mpardesh committed Aug 16, 2017
1 parent 031252a commit f3345d0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public DruidAggregationQuery<?> buildQuery(
request.getGranularity(),
request.getTimeZone(),
request.getDimensions(),
request.getFilter(),
request.getDruidFilter(),
request.getIntervals(),
druidTopNMetric,
request.getTopN().getAsInt()
Expand All @@ -137,7 +137,7 @@ public DruidAggregationQuery<?> buildQuery(
table,
request.getGranularity(),
request.getTimeZone(),
request.getFilter(),
request.getDruidFilter(),
request.getIntervals()
) :
buildGroupByQuery(
Expand All @@ -146,7 +146,7 @@ public DruidAggregationQuery<?> buildQuery(
request.getGranularity(),
request.getTimeZone(),
request.getDimensions(),
request.getFilter(),
request.getDruidFilter(),
request.getHaving(),
request.getIntervals(),
druidOrderBy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ public Map<Dimension, Set<ApiFilter>> getApiFilters() {
*
* @return the Druid filter
*/
public Filter getFilter() {
public Filter getDruidFilter() {
try (TimedPhase timer = RequestLog.startTiming("BuildingDruidFilter")) {
return filterBuilder.buildFilters(this.apiFilters);
} catch (DimensionRowNotFoundException e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ public void getData(

try (TimedPhase timer = RequestLog.startTiming("logRequestMetrics")) {
logRequestMetrics(apiRequest, readCache, druidQuery);
RequestLog.record(new DruidFilterInfo(apiRequest.getFilter()));
RequestLog.record(new DruidFilterInfo(apiRequest.getDruidFilter()));
}

// Process the request
Expand Down

0 comments on commit f3345d0

Please sign in to comment.