Class MissingAggregate
- java.lang.Object
-
- org.nuxeo.ecm.platform.query.core.AggregateBase<B>
-
- org.nuxeo.elasticsearch.aggregate.AggregateEsBase<org.elasticsearch.search.aggregations.bucket.SingleBucketAggregation,BucketTerm>
-
- org.nuxeo.elasticsearch.aggregate.SingleBucketAggregate
-
- org.nuxeo.elasticsearch.aggregate.MissingAggregate
-
- All Implemented Interfaces:
Aggregate<BucketTerm>
public class MissingAggregate extends SingleBucketAggregate
Counts the missing values for the specified field- Since:
- 10.3
-
-
Field Summary
-
Fields inherited from class org.nuxeo.elasticsearch.aggregate.SingleBucketAggregate
docCount
-
Fields inherited from class org.nuxeo.elasticsearch.aggregate.AggregateEsBase
ES_MUTLI_LEVEL_SEP, MAX_AGG_SIZE, XPATH_SEP
-
Fields inherited from class org.nuxeo.ecm.platform.query.core.AggregateBase
bucketMap, buckets, definition, extendedBuckets, searchDocument, selection
-
-
Constructor Summary
Constructors Constructor Description MissingAggregate(AggregateDefinition definition, DocumentModel searchDocument)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.elasticsearch.search.aggregations.AggregationBuilder
getEsAggregate()
Return the Elasticsearch aggregate builder-
Methods inherited from class org.nuxeo.elasticsearch.aggregate.SingleBucketAggregate
getDocCount, getEsFilter, parseAggregation
-
Methods inherited from class org.nuxeo.elasticsearch.aggregate.AggregateEsBase
getAggSize, getField, getXPathField
-
Methods inherited from class org.nuxeo.ecm.platform.query.core.AggregateBase
getBucket, getBucketMap, getBuckets, getDateRanges, getExtendedBuckets, getId, getProperties, getRanges, getSearchDocument, getSelection, getType, hasBucket, resetSelection, setBuckets, setSelection, toString
-
-
-
-
Constructor Detail
-
MissingAggregate
public MissingAggregate(AggregateDefinition definition, DocumentModel searchDocument)
-
-
Method Detail
-
getEsAggregate
public org.elasticsearch.search.aggregations.AggregationBuilder getEsAggregate()
Description copied from class:AggregateEsBase
Return the Elasticsearch aggregate builder- Specified by:
getEsAggregate
in classAggregateEsBase<org.elasticsearch.search.aggregations.bucket.SingleBucketAggregation,BucketTerm>
-
-