Interface HistogramBlock

All Superinterfaces:
org.apache.lucene.util.Accountable, AutoCloseable, Block, BlockLoader.Block, Closeable, org.elasticsearch.core.RefCounted, org.elasticsearch.core.Releasable, Writeable
All Known Subinterfaces:
ExponentialHistogramBlock, TDigestBlock
All Known Implementing Classes:
ConstantNullBlock, TDigestArrayBlock

public interface HistogramBlock extends Block
  • Method Details

    • buildHistogramComponentBlock

      DoubleBlock buildHistogramComponentBlock(HistogramBlock.Component component)
      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