mirror of https://github.com/apache/druid.git
Remove queryMetricsFactory from GroupByQueryConfig (#4383)
This commit is contained in:
parent
4ef3a770a3
commit
9ae04b7375
|
@ -70,9 +70,6 @@ public class GroupByQueryConfig
|
|||
@JsonProperty
|
||||
private boolean forcePushDownLimit = false;
|
||||
|
||||
@JsonProperty
|
||||
private Class<? extends GroupByQueryMetricsFactory> queryMetricsFactory;
|
||||
|
||||
public String getDefaultStrategy()
|
||||
{
|
||||
return defaultStrategy;
|
||||
|
@ -138,16 +135,6 @@ public class GroupByQueryConfig
|
|||
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)
|
||||
{
|
||||
final GroupByQueryConfig newConfig = new GroupByQueryConfig();
|
||||
|
|
Loading…
Reference in New Issue