Interface AdjacencyMatrix
- All Superinterfaces:
Aggregation,MultiBucketsAggregation,ToXContent,ToXContentFragment
- All Known Implementing Classes:
InternalAdjacencyMatrix,ParsedAdjacencyMatrix
public interface AdjacencyMatrix extends MultiBucketsAggregation
A multi bucket aggregation where the buckets are defined by a set of filters
(a bucket is produced per filter plus a bucket for each non-empty filter
intersection so A, B and A&B).
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceAdjacencyMatrix.BucketA bucket associated with a specific filter or pair (identified by its key)Nested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation
Aggregation.CommonFieldsNested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
Fields inherited from interface org.elasticsearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITER -
Method Summary
Modifier and Type Method Description AdjacencyMatrix.BucketgetBucketByKey(java.lang.String key)java.util.List<? extends AdjacencyMatrix.Bucket>getBuckets()The buckets created by this aggregation.Methods inherited from interface org.elasticsearch.search.aggregations.Aggregation
getMetaData, getName, getType
-
Method Details
-
getBuckets
java.util.List<? extends AdjacencyMatrix.Bucket> getBuckets()The buckets created by this aggregation.- Specified by:
getBucketsin interfaceMultiBucketsAggregation- Returns:
- The buckets of this aggregation.
-
getBucketByKey
-