JavaScript is disabled on your browser.
All Superinterfaces:
org.apache.lucene.util.Accountable, AutoCloseable , Block , BlockLoader.Block , Closeable , RefCounted , Releasable , Writeable
All Known Subinterfaces:
ExponentialHistogramBlock , TDigestBlock
All Known Implementing Classes:
ConstantNullBlock , ExponentialHistogramArrayBlock , TDigestArrayBlock
public interface HistogramBlock
extends Block
Nested Class Summary
Nested Classes
static enum
Exponential histograms are composite data types.
Field Summary
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
Method Summary
All Methods Instance Methods Abstract Methods
Returns a block holding the specified component of the histogram at each position.
Methods inherited from interface org.apache.lucene.util.Accountable
getChildResources, ramBytesUsed
Methods inherited from interface org.elasticsearch.compute.data.Block
allowPassingToDifferentDriver , areAllValuesNull , asVector , attachReleasable , blockFactory , deepCopy , doesHaveMultivaluedFields , elementType , expand , filter , filter , getFirstValueIndex , getPositionCount , getTotalValueCount , getValueCount , insertNulls , isNull , isReleased , keepMask , lookup , mayHaveMultivaluedFields , mayHaveNulls , mvDeduplicated , mvOrdering , mvSortedAscending , slice , valueMaxByteSize , writeTo
Method Details
buildHistogramComponentBlock
Returns a block holding the specified component of the histogram at each position.
The number of positions in the returned block will be exactly equal to the number of positions in this block.
If a position is null in this block, it will also be null in the returned block.
The caller is responsible for closing the returned block.
Parameters:
component - the component to extract
Returns:
the block containing the specified component