Remove queryMetricsFactory from GroupByQueryConfig (#4383)

This commit is contained in:
Jonathan Wei 2017-06-07 19:35:26 -07:00 committed by Roman Leventov
parent 4ef3a770a3
commit 9ae04b7375
1 changed files with 0 additions and 13 deletions

View File

@ -70,9 +70,6 @@ public class GroupByQueryConfig
@JsonProperty @JsonProperty
private boolean forcePushDownLimit = false; private boolean forcePushDownLimit = false;
@JsonProperty
private Class<? extends GroupByQueryMetricsFactory> queryMetricsFactory;
public String getDefaultStrategy() public String getDefaultStrategy()
{ {
return defaultStrategy; return defaultStrategy;
@ -137,16 +134,6 @@ public class GroupByQueryConfig
{ {
return forcePushDownLimit; 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) public GroupByQueryConfig withOverrides(final GroupByQuery query)
{ {