diff --git a/processing/src/main/java/io/druid/query/topn/TopNQueryQueryToolChest.java b/processing/src/main/java/io/druid/query/topn/TopNQueryQueryToolChest.java index 82649b17aa5..7a53817091e 100644 --- a/processing/src/main/java/io/druid/query/topn/TopNQueryQueryToolChest.java +++ b/processing/src/main/java/io/druid/query/topn/TopNQueryQueryToolChest.java @@ -470,7 +470,7 @@ public class TopNQueryQueryToolChest extends QueryToolChest>() { @@ -535,15 +535,15 @@ public class TopNQueryQueryToolChest extends QueryToolChest> { private final QueryRunner> runner; - private final int minTopNThreshold; + private final TopNQueryConfig config; public ThresholdAdjustingQueryRunner( QueryRunner> runner, - int minTopNThreshold + TopNQueryConfig config ) { this.runner = runner; - this.minTopNThreshold = minTopNThreshold; + this.config = config; } @Override @@ -557,6 +557,7 @@ public class TopNQueryQueryToolChest extends QueryToolChest minTopNThreshold) { return runner.run(query, responseContext); }