Interface Collections.ScalarQuantizationOrBuilder

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

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

    Modifier and Type
    Method
    Description
    boolean
    If true - quantized vectors always will be stored in RAM, ignoring the config of main storage
    float
    Number of bits to use for quantization
    Type of quantization
    int
    Type of quantization
    boolean
    If true - quantized vectors always will be stored in RAM, ignoring the config of main storage
    boolean
    Number of bits to use for quantization

    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

    • getTypeValue

      int getTypeValue()
       Type of quantization
       
      .qdrant.QuantizationType type = 1;
      Returns:
      The enum numeric value on the wire for type.
    • getType

       Type of quantization
       
      .qdrant.QuantizationType type = 1;
      Returns:
      The type.
    • hasQuantile

      boolean hasQuantile()
       Number of bits to use for quantization
       
      optional float quantile = 2;
      Returns:
      Whether the quantile field is set.
    • getQuantile

      float getQuantile()
       Number of bits to use for quantization
       
      optional float quantile = 2;
      Returns:
      The quantile.
    • hasAlwaysRam

      boolean hasAlwaysRam()
       If true - quantized vectors always will be stored in RAM, ignoring the config of main storage
       
      optional bool always_ram = 3;
      Returns:
      Whether the alwaysRam field is set.
    • getAlwaysRam

      boolean getAlwaysRam()
       If true - quantized vectors always will be stored in RAM, ignoring the config of main storage
       
      optional bool always_ram = 3;
      Returns:
      The alwaysRam.