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 TypeMethodDescriptionbooleanIf true - quantized vectors always will be stored in RAM, ignoring the config of main storagefloatNumber of bits to use for quantizationgetType()Type of quantizationintType of quantizationbooleanIf true - quantized vectors always will be stored in RAM, ignoring the config of main storagebooleanNumber of bits to use for quantizationMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
Collections.QuantizationType 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.
-