Module org.elasticsearch.compute
Class TopNMultivalueDedupeLong
java.lang.Object
org.elasticsearch.compute.operator.mvdedupe.TopNMultivalueDedupeLong
Removes duplicate values from multivalued positions, and keeps only the ones that pass the filters.
Clone of MultivalueDedupeLong, but for it accepts a predicate and nulls flag to filter the values.
-
Constructor Summary
ConstructorsConstructorDescriptionTopNMultivalueDedupeLong(LongBlock block, boolean acceptNulls, Predicate<Long> isAcceptable) -
Method Summary
Modifier and TypeMethodDescriptionhashAdd(BlockFactory blockFactory, LongHash hash) Dedupe values, add them to the hash, and build anIntBlockof their hashes.hashLookup(BlockFactory blockFactory, LongHash hash) Dedupe values and build anIntBlockof their hashes.
-
Constructor Details
-
TopNMultivalueDedupeLong
-
-
Method Details
-
hashAdd
Dedupe values, add them to the hash, and build anIntBlockof their hashes. This block is suitable for passing as the grouping block to aGroupingAggregatorFunction. -
hashLookup
Dedupe values and build anIntBlockof their hashes. This block is suitable for passing as the grouping block to aGroupingAggregatorFunction.
-