Package io.qdrant.client
Class TargetVectorFactory
java.lang.Object
io.qdrant.client.TargetVectorFactory
Convenience methods for constructing
Points.TargetVector
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.qdrant.client.grpc.Points.TargetVector
targetVector
(io.qdrant.client.grpc.Points.PointId id) Creates a TargetVector from a point IDstatic io.qdrant.client.grpc.Points.TargetVector
targetVector
(io.qdrant.client.grpc.Points.Vector vector) Creates a TargetVector from a Vector
-
Method Details
-
targetVector
public static io.qdrant.client.grpc.Points.TargetVector targetVector(io.qdrant.client.grpc.Points.PointId id) Creates a TargetVector from a point ID- Parameters:
id
- The point ID to use- Returns:
- A new instance of
Points.TargetVector
-
targetVector
public static io.qdrant.client.grpc.Points.TargetVector targetVector(io.qdrant.client.grpc.Points.Vector vector) Creates a TargetVector from a Vector- Parameters:
vector
- The Vector value to use- Returns:
- A new instance of
Points.TargetVector
-