Class FiltersAggregatorFactory
java.lang.Object
org.elasticsearch.search.aggregations.AggregatorFactory
org.elasticsearch.search.aggregations.bucket.filter.FiltersAggregatorFactory
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFiltersAggregatorFactory
(String name, List<FiltersAggregator.KeyedFilter> filters, boolean keyed, boolean otherBucket, String otherBucketKey, AggregationContext context, AggregatorFactory parent, AggregatorFactories.Builder subFactories, Map<String, Object> metadata) -
Method Summary
Modifier and TypeMethodDescriptioncreateInternal
(Aggregator parent, CardinalityUpperBound cardinality, Map<String, Object> metadata) Methods inherited from class org.elasticsearch.search.aggregations.AggregatorFactory
create, doValidate, getParent, getStatsSubtype, name
-
Constructor Details
-
FiltersAggregatorFactory
public FiltersAggregatorFactory(String name, List<FiltersAggregator.KeyedFilter> filters, boolean keyed, boolean otherBucket, String otherBucketKey, AggregationContext context, AggregatorFactory parent, AggregatorFactories.Builder subFactories, Map<String, Object> metadata) throws IOException- Throws:
IOException
-
-
Method Details
-
createInternal
public Aggregator createInternal(Aggregator parent, CardinalityUpperBound cardinality, Map<String, Object> metadata) throws IOException- Specified by:
createInternal
in classAggregatorFactory
- Throws:
IOException
-