Module org.elasticsearch.compute
Package org.elasticsearch.compute.data
Interface DoubleVector.Builder
- All Superinterfaces:
AutoCloseable,Closeable,org.elasticsearch.core.Releasable,Vector.Builder
- All Known Subinterfaces:
DoubleVector.FixedBuilder
- All Known Implementing Classes:
DoubleVectorFixedBuilder
- Enclosing interface:
DoubleVector
public static sealed interface DoubleVector.Builder
extends Vector.Builder
permits DoubleVector.FixedBuilder (not exhaustive)
A builder that grows as needed.
-
Method Summary
Modifier and TypeMethodDescriptionappendDouble(double value) Appends a double 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
-
appendDouble
Appends a double to the current entry. -
build
DoubleVector build()Description copied from interface:Vector.BuilderBuilds the block. This method can be called multiple times.- Specified by:
buildin interfaceVector.Builder
-