Skip to content

Commit

Permalink
Remove queryMetricsFactory from GroupByQueryConfig (apache#4383)
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-wei authored and leventov committed Jun 8, 2017
1 parent 4ef3a77 commit 9ae04b7
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ public class GroupByQueryConfig
@JsonProperty
private boolean forcePushDownLimit = false;

@JsonProperty
private Class<? extends GroupByQueryMetricsFactory> queryMetricsFactory;

public String getDefaultStrategy()
{
return defaultStrategy;
Expand Down Expand Up @@ -137,16 +134,6 @@ public boolean isForcePushDownLimit()
{
return forcePushDownLimit;
}

public Class<? extends GroupByQueryMetricsFactory> getQueryMetricsFactory()
{
return queryMetricsFactory != null ? queryMetricsFactory : DefaultGroupByQueryMetricsFactory.class;
}

public void setQueryMetricsFactory(Class<? extends GroupByQueryMetricsFactory> queryMetricsFactory)
{
this.queryMetricsFactory = queryMetricsFactory;
}

public GroupByQueryConfig withOverrides(final GroupByQuery query)
{
Expand Down

0 comments on commit 9ae04b7

Please sign in to comment.