|
@@ -18,7 +18,6 @@
|
|
|
*/
|
|
|
package org.elasticsearch.search.aggregations;
|
|
|
|
|
|
-import org.elasticsearch.common.ParseField;
|
|
|
import org.elasticsearch.common.io.stream.NamedWriteable;
|
|
|
import org.elasticsearch.common.io.stream.StreamInput;
|
|
|
import org.elasticsearch.common.io.stream.StreamOutput;
|
|
@@ -40,9 +39,6 @@ import java.util.Objects;
|
|
|
*/
|
|
|
public abstract class InternalAggregation implements Aggregation, ToXContent, NamedWriteable {
|
|
|
|
|
|
- /** Delimiter used when prefixing aggregation names with their type using the typed_keys parameter **/
|
|
|
- public static final String TYPED_KEYS_DELIMITER = "#";
|
|
|
-
|
|
|
public static class ReduceContext {
|
|
|
|
|
|
private final BigArrays bigArrays;
|
|
@@ -242,21 +238,4 @@ public abstract class InternalAggregation implements Aggregation, ToXContent, Na
|
|
|
return this == obj;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * Common xcontent fields that are shared among addAggregation
|
|
|
- */
|
|
|
- public static final class CommonFields extends ParseField.CommonFields {
|
|
|
- public static final ParseField META = new ParseField("meta");
|
|
|
- public static final ParseField BUCKETS = new ParseField("buckets");
|
|
|
- public static final ParseField VALUE = new ParseField("value");
|
|
|
- public static final ParseField VALUES = new ParseField("values");
|
|
|
- public static final ParseField VALUE_AS_STRING = new ParseField("value_as_string");
|
|
|
- public static final ParseField DOC_COUNT = new ParseField("doc_count");
|
|
|
- public static final ParseField KEY = new ParseField("key");
|
|
|
- public static final ParseField KEY_AS_STRING = new ParseField("key_as_string");
|
|
|
- public static final ParseField FROM = new ParseField("from");
|
|
|
- public static final ParseField FROM_AS_STRING = new ParseField("from_as_string");
|
|
|
- public static final ParseField TO = new ParseField("to");
|
|
|
- public static final ParseField TO_AS_STRING = new ParseField("to_as_string");
|
|
|
- }
|
|
|
}
|