Class MongoVector

java.lang.Object
org.springframework.data.mongodb.core.mapping.MongoVector
All Implemented Interfaces:
Vector

public class MongoVector extends Object implements Vector
MongoDB-specific extension to Vector based on Mongo's BinaryVector. Note that only float32 and int8 variants can be represented as floating-point numbers. int1 throws UnsupportedOperationException when calling toFloatArray() and toDoubleArray().
Since:
4.5
Author:
Mark Paluch