Interface Collections.VectorParamsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Collections.VectorParams, Collections.VectorParams.Builder
Enclosing class:
Collections

public static interface Collections.VectorParamsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Distance function used for comparing vectors
    int
    Distance function used for comparing vectors
    long
    Size of the vectors

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getSize

      long getSize()
       Size of the vectors
       
      uint64 size = 1;
      Returns:
      The size.
    • getDistanceValue

      int getDistanceValue()
       Distance function used for comparing vectors
       
      .qdrant.Distance distance = 2;
      Returns:
      The enum numeric value on the wire for distance.
    • getDistance

      Collections.Distance getDistance()
       Distance function used for comparing vectors
       
      .qdrant.Distance distance = 2;
      Returns:
      The distance.