Module org.elasticsearch.compute
Package org.elasticsearch.compute.data
Interface ExponentialHistogramBlock.Builder
- All Superinterfaces:
AutoCloseable,Block.Builder,BlockLoader.Builder,BlockLoader.ExponentialHistogramBuilder,Closeable,org.elasticsearch.core.Releasable
- All Known Implementing Classes:
ExponentialHistogramBlockBuilder
- Enclosing interface:
ExponentialHistogramBlock
public static sealed interface ExponentialHistogramBlock.Builder
extends Block.Builder, BlockLoader.ExponentialHistogramBuilder
permits ExponentialHistogramBlockBuilder
Builder for
ExponentialHistogramBlock-
Method Summary
Modifier and TypeMethodDescriptionappend(int scale, BucketIterator negativeBuckets, BucketIterator positiveBuckets, double zeroThreshold, long zeroCount, long count, double sum, double min, double max) Appends a histogram from raw bucket iterators and summary statistics.append(ExponentialHistogram histogram) Appends the provided histogram to this builder.build()Builds the block.copyFrom(ExponentialHistogramBlock block, int position) Copy the values inblockfrom the given positon into this builder.Methods inherited from interface org.elasticsearch.compute.data.Block.Builder
appendNull, beginPositionEntry, copyFrom, endPositionEntry, estimatedBytes, mvOrderingMethods inherited from interface org.elasticsearch.index.mapper.BlockLoader.ExponentialHistogramBuilder
encodedHistograms, maxima, minima, sums, valueCounts, zeroThresholdsMethods inherited from interface org.elasticsearch.core.Releasable
close
-
Method Details
-
append
Appends the provided histogram to this builder. -
append
ExponentialHistogramBlock.Builder append(int scale, BucketIterator negativeBuckets, BucketIterator positiveBuckets, double zeroThreshold, long zeroCount, long count, double sum, double min, double max) Appends a histogram from raw bucket iterators and summary statistics. -
copyFrom
Copy the values inblockfrom the given positon into this builder. -
build
ExponentialHistogramBlock build()Description copied from interface:Block.BuilderBuilds the block. This method can be called multiple times.- Specified by:
buildin interfaceBlock.Builder- Specified by:
buildin interfaceBlockLoader.Builder
-