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 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

       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.