Class BooleanArrowBufBlock

All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.lucene.util.Accountable, Writeable, Block, BooleanBlock, org.elasticsearch.core.RefCounted, org.elasticsearch.core.Releasable, BlockLoader.Block

public final class BooleanArrowBufBlock extends AbstractArrowBufBlock<BooleanVector,BooleanBlock> implements BooleanBlock
Arrow buffer backed BooleanBlock. Booleans are bit-packed in Arrow (1 bit per value), so this class overrides filter(boolean, int...) and lookup(org.elasticsearch.compute.data.IntBlock, org.elasticsearch.common.unit.ByteSizeValue) with bit-level implementations. The inherited AbstractArrowBufBlock.keepMask(org.elasticsearch.compute.data.BooleanVector) and AbstractArrowBufBlock.expand() work unchanged since they only manipulate validity and offset buffers.