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
|
@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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue