Class VectorOutputHelper

java.lang.Object
io.qdrant.client.VectorOutputHelper

public final class VectorOutputHelper extends Object
Helper methods for extracting vector data from Points.VectorOutput.
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.qdrant.client.grpc.Points.DenseVector
    getDenseVector(io.qdrant.client.grpc.Points.VectorOutput vectorOutput)
    Returns the DenseVector from the VectorOutput.
    static io.qdrant.client.grpc.Points.MultiDenseVector
    getMultiVector(io.qdrant.client.grpc.Points.VectorOutput vectorOutput)
    Returns the MultiDenseVector from the VectorOutput.
    static io.qdrant.client.grpc.Points.SparseVector
    getSparseVector(io.qdrant.client.grpc.Points.VectorOutput vectorOutput)
    Returns the SparseVector from the VectorOutput.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getDenseVector

      public static io.qdrant.client.grpc.Points.DenseVector getDenseVector(io.qdrant.client.grpc.Points.VectorOutput vectorOutput)
      Returns the DenseVector from the VectorOutput.
      Parameters:
      vectorOutput - the VectorOutput to extract from
      Returns:
      the DenseVector if available, null otherwise
    • getSparseVector

      public static io.qdrant.client.grpc.Points.SparseVector getSparseVector(io.qdrant.client.grpc.Points.VectorOutput vectorOutput)
      Returns the SparseVector from the VectorOutput.
      Parameters:
      vectorOutput - the VectorOutput to extract from
      Returns:
      the SparseVector if available, null otherwise
    • getMultiVector

      public static io.qdrant.client.grpc.Points.MultiDenseVector getMultiVector(io.qdrant.client.grpc.Points.VectorOutput vectorOutput)
      Returns the MultiDenseVector from the VectorOutput.
      Parameters:
      vectorOutput - the VectorOutput to extract from
      Returns:
      the MultiDenseVector if available, null otherwise