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 TypeMethodDescriptionDistance function used for comparing vectorsintDistance function used for comparing vectorsConfiguration of vector HNSW graph.Configuration of vector HNSW graph.booleanIf true - serve vectors from disk.Configuration of vector quantization config.Configuration of vector quantization config.longgetSize()Size of the vectorsbooleanConfiguration of vector HNSW graph.booleanIf true - serve vectors from disk.booleanConfiguration of vector quantization config.Methods 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
-
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.
-
hasHnswConfig
boolean hasHnswConfig()Configuration of vector HNSW graph. If omitted - the collection configuration will be used
optional .qdrant.HnswConfigDiff hnsw_config = 3;- Returns:
- Whether the hnswConfig field is set.
-
getHnswConfig
Collections.HnswConfigDiff getHnswConfig()Configuration of vector HNSW graph. If omitted - the collection configuration will be used
optional .qdrant.HnswConfigDiff hnsw_config = 3;- Returns:
- The hnswConfig.
-
getHnswConfigOrBuilder
Collections.HnswConfigDiffOrBuilder getHnswConfigOrBuilder()Configuration of vector HNSW graph. If omitted - the collection configuration will be used
optional .qdrant.HnswConfigDiff hnsw_config = 3; -
hasQuantizationConfig
boolean hasQuantizationConfig()Configuration of vector quantization config. If omitted - the collection configuration will be used
optional .qdrant.QuantizationConfig quantization_config = 4;- Returns:
- Whether the quantizationConfig field is set.
-
getQuantizationConfig
Collections.QuantizationConfig getQuantizationConfig()Configuration of vector quantization config. If omitted - the collection configuration will be used
optional .qdrant.QuantizationConfig quantization_config = 4;- Returns:
- The quantizationConfig.
-
getQuantizationConfigOrBuilder
Collections.QuantizationConfigOrBuilder getQuantizationConfigOrBuilder()Configuration of vector quantization config. If omitted - the collection configuration will be used
optional .qdrant.QuantizationConfig quantization_config = 4; -
hasOnDisk
boolean hasOnDisk()If true - serve vectors from disk. If set to false, the vectors will be loaded in RAM.
optional bool on_disk = 5;- Returns:
- Whether the onDisk field is set.
-
getOnDisk
boolean getOnDisk()If true - serve vectors from disk. If set to false, the vectors will be loaded in RAM.
optional bool on_disk = 5;- Returns:
- The onDisk.
-