Module org.elasticsearch.compute
Package org.elasticsearch.compute.operator.topn
package org.elasticsearch.compute.operator.topn
-
ClassDescriptionA
TopNEncoderthat doesn't encode values so they are sortable but is capable of encoding any values.A top-N operator for grouped (SORT + LIMIT BY) queries.Specialised, allocation-free Top-K operator for a single fixed-width numeric sort key sitting directly above anExternalSourceExecthat has been narrowed to[sortKey, _rowPosition]by theInsertExternalFieldExtractionrule.Factory wired in byLocalExecutionPlanner.tryBuildNumericTopN().A parallel variant ofTopNOperatorthat dispatches incoming pages to multiple workerTopNOperators running onesql_workerthreads.A thread safe, shared holder for the min competitive value from a set ofTopNOperators.Thread-safe, shared numeric TopN threshold for operators running on the same node.ATopNEncoderthat encodes values to byte arrays that may be sorted directly.ATopNEncoderthat encodes values to byte arrays that may be sorted directly.Encodes values forTopNOperator.An operator that sorts "rows" of values by encoding the values to sort on, as bytes (using BytesRef).Opts the operator into parallel workers; promotion is one-way oncepromotionThresholdRowsis crossed.