Module org.elasticsearch.compute
Package org.elasticsearch.compute.data
Interface LongRangeBlock.Builder
- All Superinterfaces:
AutoCloseable,Block.Builder,BlockLoader.Builder,BlockLoader.LongRangeBuilder,Closeable,Releasable
- All Known Implementing Classes:
LongRangeBlockBuilder
- Enclosing interface:
LongRangeBlock
public static sealed interface LongRangeBlock.Builder
extends Block.Builder, BlockLoader.LongRangeBuilder
permits LongRangeBlockBuilder
Builder for
LongRangeBlock.-
Method Summary
Modifier and TypeMethodDescriptionappendLongRange(long from, long to) Append the given range to this builder.Append the given range to this builder.build()Builds the block.copyFrom(LongRangeBlock block, int position) Copy the value(s) at the given position ofblockinto 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.LongRangeBuilder
from, toMethods inherited from interface org.elasticsearch.core.Releasable
close
-
Method Details
-
appendLongRange
Append the given range to this builder. -
appendLongRange
Append the given range to this builder. -
copyFrom
Copy the value(s) at the given position ofblockinto this builder. -
build
LongRangeBlock 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
-