Module org.elasticsearch.compute
Package org.elasticsearch.compute.data
Interface LongVector.Builder
- All Superinterfaces:
AutoCloseable,Closeable,org.elasticsearch.core.Releasable,Vector.Builder
- All Known Subinterfaces:
LongVector.FixedBuilder
- All Known Implementing Classes:
LongVectorFixedBuilder
- Enclosing interface:
LongVector
public static sealed interface LongVector.Builder
extends Vector.Builder
permits LongVector.FixedBuilder (not exhaustive)
A builder that grows as needed.
-
Method Summary
Modifier and TypeMethodDescriptionappendLong(long value) Appends a long to the current entry.build()Builds the block.Methods inherited from interface org.elasticsearch.core.Releasable
closeMethods inherited from interface org.elasticsearch.compute.data.Vector.Builder
estimatedBytes
-
Method Details
-
appendLong
Appends a long to the current entry. -
build
LongVector build()Description copied from interface:Vector.BuilderBuilds the block. This method can be called multiple times.- Specified by:
buildin interfaceVector.Builder
-