Remove some dead code.
This commit is contained in:
parent
a4e2230ebd
commit
3af3def30b
|
@ -46,10 +46,6 @@ public abstract class NumericValuesSourceMetricsAggregatorParser<S extends Inter
|
|||
return aggType.name();
|
||||
}
|
||||
|
||||
protected boolean requiresSortedValues() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public AggregatorFactory parse(String aggregationName, XContentParser parser, SearchContext context) throws IOException {
|
||||
|
||||
|
|
|
@ -32,11 +32,6 @@ public class MinParser extends NumericValuesSourceMetricsAggregatorParser<Intern
|
|||
super(InternalMin.TYPE);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean requiresSortedValues() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected AggregatorFactory createFactory(String aggregationName, ValuesSourceConfig<ValuesSource.Numeric> config) {
|
||||
return new MinAggregator.Factory(aggregationName, config);
|
||||
|
|
|
@ -79,8 +79,6 @@ public class ValuesSourceParser<VS extends ValuesSource> {
|
|||
private boolean scriptable = true;
|
||||
private boolean formattable = false;
|
||||
private ValueType targetValueType = null;
|
||||
private boolean requiresSortedValues = false;
|
||||
private boolean requiresUniqueValues = false;
|
||||
private ScriptParameterParser scriptParameterParser = new ScriptParameterParser();
|
||||
|
||||
private Input input = new Input();
|
||||
|
|
Loading…
Reference in New Issue