Module org.elasticsearch.compute
Class RowInTableLookup
java.lang.Object
org.elasticsearch.compute.aggregation.table.RowInTableLookup
- All Implemented Interfaces:
Closeable,AutoCloseable,org.elasticsearch.core.Releasable
- Direct Known Subclasses:
AscendingSequenceRowInTableLookup,EmptyRowInTableLookup
public abstract sealed class RowInTableLookup
extends Object
implements org.elasticsearch.core.Releasable
permits EmptyRowInTableLookup, AscendingSequenceRowInTableLookup (not exhaustive)
Consumes
Pages and looks up each row in a pre-built table, and returns the
offsets of each row in the table.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RowInTableLookupbuild(BlockFactory blockFactory, Block[] keys) abstract org.elasticsearch.core.ReleasableIterator<IntBlock> lookup(Page page, ByteSizeValue targetBlockSize) Lookup the values in thePageand, for each row, return the offset in the table that was provided when building the lookup.abstract StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.core.Releasable
close
-
Constructor Details
-
RowInTableLookup
public RowInTableLookup()
-
-
Method Details
-
lookup
public abstract org.elasticsearch.core.ReleasableIterator<IntBlock> lookup(Page page, ByteSizeValue targetBlockSize) -
toString
-
build
-