Class TargetVectorFactory

java.lang.Object
io.qdrant.client.TargetVectorFactory

public class TargetVectorFactory extends Object
Convenience methods for constructing Points.TargetVector
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.qdrant.client.grpc.Points.TargetVector
    targetVector(io.qdrant.client.grpc.Points.PointId id)
    Creates a TargetVector from a point ID
    static io.qdrant.client.grpc.Points.TargetVector
    targetVector(io.qdrant.client.grpc.Points.Vector vector)
    Creates a TargetVector from a Vector

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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