Package org.bson

Class BinaryVector

java.lang.Object
org.bson.BinaryVector
Direct Known Subclasses:
Float32BinaryVector, Int8BinaryVector, PackedBitBinaryVector

public abstract class BinaryVector extends Object
Binary Vectors are densely packed arrays of numbers, all the same type, which are stored and retrieved efficiently using the BSON Binary Subtype 9 format. This class supports multiple vector BinaryVector.DataType's and provides static methods to create vectors.

NOTE: This class should be treated as sealed: it must not be extended or implemented by consumers of the library.

Since:
5.3
See Also:
Since server release
6.0