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