public interface Aggregate<B extends Bucket>
Modifier and Type | Method and Description |
---|---|
Bucket |
getBucket(String key) |
List<B> |
getBuckets()
The aggregate results.
|
List<AggregateRangeDateDefinition> |
getDateRanges()
Date Range definition for aggregate of type date range.
|
List<Bucket> |
getExtendedBuckets()
The regular list of buckets plus buckets with doc count at 0 for selected buckets which are not returned from es
post filtering.
|
String |
getField()
Nuxeo field to aggregate.
|
String |
getId()
The aggregate identifier.
|
Map<String,String> |
getProperties()
Properties of the aggregate.
|
List<AggregateRangeDefinition> |
getRanges()
Range definition for aggregate of type range.
|
List<String> |
getSelection()
The selection filter that is going to be applied to the main query as a post filter.
|
String |
getType()
Type of aggregation.
|
boolean |
hasBucket(String key) |
void |
resetSelection() |
void |
setBuckets(List<B> buckets) |
void |
setSelection(List<String> selection) |
Map<String,String> getProperties()
List<AggregateRangeDefinition> getRanges()
List<AggregateRangeDateDefinition> getDateRanges()
List<String> getSelection()
void setSelection(List<String> selection)
List<B> getBuckets()
void setBuckets(List<B> buckets)
void resetSelection()
List<Bucket> getExtendedBuckets()
Copyright © 2015 Nuxeo SA. All rights reserved.