Class VectorsFactory

java.lang.Object
io.qdrant.client.VectorsFactory

public final class VectorsFactory extends Object
Convenience methods for constructing Points.Vectors
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.qdrant.client.grpc.Points.Vectors
    namedVectors(Map<String,io.qdrant.client.grpc.Points.Vector> values)
    Creates named vectors
    static io.qdrant.client.grpc.Points.Vectors
    vectors(float... values)
    Creates a vector
    static io.qdrant.client.grpc.Points.Vectors
    vectors(io.qdrant.client.grpc.Points.Vector vector)
    Creates a vector
    static io.qdrant.client.grpc.Points.Vectors
    vectors(List<Float> values)
    Creates a vector

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 to Points.Vector
      Returns:
      a new instance of Points.Vectors
    • vectors

      public static io.qdrant.client.grpc.Points.Vectors vectors(List<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(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 of Points.Vector
      Returns:
      a new instance of Points.Vectors