Remove some dead code.

This commit is contained in:
Adrien Grand 2014-12-30 14:30:40 +01:00
parent a4e2230ebd
commit 3af3def30b
3 changed files with 0 additions and 11 deletions

View File

@ -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 {

View File

@ -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);

View File

@ -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();