Package io.qdrant.client
Class VectorsFactory
java.lang.Object
io.qdrant.client.VectorsFactory
Convenience methods for constructing
Points.Vectors
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.qdrant.client.grpc.Points.Vectors
namedVectors
(Map<String, io.qdrant.client.grpc.Points.Vector> values) Creates named vectorsstatic io.qdrant.client.grpc.Points.Vectors
vectors
(float... values) Creates a vectorstatic io.qdrant.client.grpc.Points.Vectors
vectors
(io.qdrant.client.grpc.Points.Vector vector) Creates a vectorstatic io.qdrant.client.grpc.Points.Vectors
Creates a vector
-
Method Details
-
namedVectors
public static io.qdrant.client.grpc.Points.Vectors namedVectors(Map<String, io.qdrant.client.grpc.Points.Vector> values) Creates named vectors- Parameters:
values
- A map of vector names toPoints.Vector
- Returns:
- a new instance of
Points.Vectors
-
vectors
Creates a vector- Parameters:
values
- A list of values- Returns:
- a new instance of
Points.Vectors
-
vectors
public static io.qdrant.client.grpc.Points.Vectors vectors(float... values) Creates a vector- Parameters:
values
- A list of values- Returns:
- a new instance of
Points.Vectors
-
vectors
public static io.qdrant.client.grpc.Points.Vectors vectors(io.qdrant.client.grpc.Points.Vector vector) Creates a vector- Parameters:
vector
- An instance ofPoints.Vector
- Returns:
- a new instance of
Points.Vectors
-