Interface Collections.CreateCollectionOrBuilder

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

public static interface Collections.CreateCollectionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getCollectionName

      String getCollectionName()
       Name of the collection
       
      string collection_name = 1;
      Returns:
      The collectionName.
    • getCollectionNameBytes

      com.google.protobuf.ByteString getCollectionNameBytes()
       Name of the collection
       
      string collection_name = 1;
      Returns:
      The bytes for collectionName.
    • hasHnswConfig

      boolean hasHnswConfig()
       Configuration of vector index
       
      optional .qdrant.HnswConfigDiff hnsw_config = 4;
      Returns:
      Whether the hnswConfig field is set.
    • getHnswConfig

       Configuration of vector index
       
      optional .qdrant.HnswConfigDiff hnsw_config = 4;
      Returns:
      The hnswConfig.
    • getHnswConfigOrBuilder

      Collections.HnswConfigDiffOrBuilder getHnswConfigOrBuilder()
       Configuration of vector index
       
      optional .qdrant.HnswConfigDiff hnsw_config = 4;
    • hasWalConfig

      boolean hasWalConfig()
       Configuration of the Write-Ahead-Log
       
      optional .qdrant.WalConfigDiff wal_config = 5;
      Returns:
      Whether the walConfig field is set.
    • getWalConfig

       Configuration of the Write-Ahead-Log
       
      optional .qdrant.WalConfigDiff wal_config = 5;
      Returns:
      The walConfig.
    • getWalConfigOrBuilder

      Collections.WalConfigDiffOrBuilder getWalConfigOrBuilder()
       Configuration of the Write-Ahead-Log
       
      optional .qdrant.WalConfigDiff wal_config = 5;
    • hasOptimizersConfig

      boolean hasOptimizersConfig()
       Configuration of the optimizers
       
      optional .qdrant.OptimizersConfigDiff optimizers_config = 6;
      Returns:
      Whether the optimizersConfig field is set.
    • getOptimizersConfig

      Collections.OptimizersConfigDiff getOptimizersConfig()
       Configuration of the optimizers
       
      optional .qdrant.OptimizersConfigDiff optimizers_config = 6;
      Returns:
      The optimizersConfig.
    • getOptimizersConfigOrBuilder

      Collections.OptimizersConfigDiffOrBuilder getOptimizersConfigOrBuilder()
       Configuration of the optimizers
       
      optional .qdrant.OptimizersConfigDiff optimizers_config = 6;
    • hasShardNumber

      boolean hasShardNumber()
       Number of shards in the collection, default is 1 for standalone, otherwise equal to the number of nodes. Minimum is 1
       
      optional uint32 shard_number = 7;
      Returns:
      Whether the shardNumber field is set.
    • getShardNumber

      int getShardNumber()
       Number of shards in the collection, default is 1 for standalone, otherwise equal to the number of nodes. Minimum is 1
       
      optional uint32 shard_number = 7;
      Returns:
      The shardNumber.
    • hasOnDiskPayload

      boolean hasOnDiskPayload()
       If true - point's payload will not be stored in memory
       
      optional bool on_disk_payload = 8;
      Returns:
      Whether the onDiskPayload field is set.
    • getOnDiskPayload

      boolean getOnDiskPayload()
       If true - point's payload will not be stored in memory
       
      optional bool on_disk_payload = 8;
      Returns:
      The onDiskPayload.
    • hasTimeout

      boolean hasTimeout()
       Wait timeout for operation commit in seconds, if not specified - default value will be supplied
       
      optional uint64 timeout = 9;
      Returns:
      Whether the timeout field is set.
    • getTimeout

      long getTimeout()
       Wait timeout for operation commit in seconds, if not specified - default value will be supplied
       
      optional uint64 timeout = 9;
      Returns:
      The timeout.
    • hasVectorsConfig

      boolean hasVectorsConfig()
       Configuration for vectors
       
      optional .qdrant.VectorsConfig vectors_config = 10;
      Returns:
      Whether the vectorsConfig field is set.
    • getVectorsConfig

      Collections.VectorsConfig getVectorsConfig()
       Configuration for vectors
       
      optional .qdrant.VectorsConfig vectors_config = 10;
      Returns:
      The vectorsConfig.
    • getVectorsConfigOrBuilder

      Collections.VectorsConfigOrBuilder getVectorsConfigOrBuilder()
       Configuration for vectors
       
      optional .qdrant.VectorsConfig vectors_config = 10;
    • hasReplicationFactor

      boolean hasReplicationFactor()
       Number of replicas of each shard that network tries to maintain, default = 1
       
      optional uint32 replication_factor = 11;
      Returns:
      Whether the replicationFactor field is set.
    • getReplicationFactor

      int getReplicationFactor()
       Number of replicas of each shard that network tries to maintain, default = 1
       
      optional uint32 replication_factor = 11;
      Returns:
      The replicationFactor.
    • hasWriteConsistencyFactor

      boolean hasWriteConsistencyFactor()
       How many replicas should apply the operation for us to consider it successful, default = 1
       
      optional uint32 write_consistency_factor = 12;
      Returns:
      Whether the writeConsistencyFactor field is set.
    • getWriteConsistencyFactor

      int getWriteConsistencyFactor()
       How many replicas should apply the operation for us to consider it successful, default = 1
       
      optional uint32 write_consistency_factor = 12;
      Returns:
      The writeConsistencyFactor.
    • hasInitFromCollection

      boolean hasInitFromCollection()
       Specify name of the other collection to copy data from
       
      optional string init_from_collection = 13;
      Returns:
      Whether the initFromCollection field is set.
    • getInitFromCollection

      String getInitFromCollection()
       Specify name of the other collection to copy data from
       
      optional string init_from_collection = 13;
      Returns:
      The initFromCollection.
    • getInitFromCollectionBytes

      com.google.protobuf.ByteString getInitFromCollectionBytes()
       Specify name of the other collection to copy data from
       
      optional string init_from_collection = 13;
      Returns:
      The bytes for initFromCollection.
    • hasQuantizationConfig

      boolean hasQuantizationConfig()
       Quantization configuration of vector
       
      optional .qdrant.QuantizationConfig quantization_config = 14;
      Returns:
      Whether the quantizationConfig field is set.
    • getQuantizationConfig

      Collections.QuantizationConfig getQuantizationConfig()
       Quantization configuration of vector
       
      optional .qdrant.QuantizationConfig quantization_config = 14;
      Returns:
      The quantizationConfig.
    • getQuantizationConfigOrBuilder

      Collections.QuantizationConfigOrBuilder getQuantizationConfigOrBuilder()
       Quantization configuration of vector
       
      optional .qdrant.QuantizationConfig quantization_config = 14;