Interface ParentJoinAggregator.CollectionStrategy

All Superinterfaces:
java.lang.AutoCloseable, java.io.Closeable, org.elasticsearch.common.lease.Releasable
All Known Implementing Classes:
ParentJoinAggregator.DenseCollectionStrategy, ParentJoinAggregator.SparseCollectionStrategy
Enclosing class:
ParentJoinAggregator

protected static interface ParentJoinAggregator.CollectionStrategy
extends org.elasticsearch.common.lease.Releasable
Strategy for collecting the global ordinals of the join field in for all docs that match the ParentJoinAggregator#inFilter and then checking if which of the docs in the ParentJoinAggregator#outFilter also have the ordinal.
  • Method Summary

    Modifier and Type Method Description
    void add​(long owningBucketOrd, int globalOrdinal)  
    boolean exists​(long owningBucketOrd, int globalOrdinal)  

    Methods inherited from interface org.elasticsearch.common.lease.Releasable

    close
  • Method Details

    • add

      void add​(long owningBucketOrd, int globalOrdinal)
    • exists

      boolean exists​(long owningBucketOrd, int globalOrdinal)