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 Summary
Modifier and TypeMethodDescriptionName of the collectioncom.google.protobuf.ByteStringName of the collectionConfiguration of vector indexConfiguration of vector indexbooleanIf true - point's payload will not be stored in memoryConfiguration of the optimizersConfiguration of the optimizersintNumber of replicas of each shard that network tries to maintain, default = 1intNumber of shards in the collection, default = 1longWait timeout for operation commit in seconds, if not specified - default value will be suppliedConfiguration for vectorsConfiguration for vectorsConfiguration of the Write-Ahead-LogConfiguration of the Write-Ahead-LogintHow many replicas should apply the operation for us to consider it successful, default = 1booleanConfiguration of vector indexbooleanIf true - point's payload will not be stored in memorybooleanConfiguration of the optimizersbooleanNumber of replicas of each shard that network tries to maintain, default = 1booleanNumber of shards in the collection, default = 1booleanWait timeout for operation commit in seconds, if not specified - default value will be suppliedbooleanConfiguration for vectorsbooleanConfiguration of the Write-Ahead-LogbooleanHow many replicas should apply the operation for us to consider it successful, default = 1Methods 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
-
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
Collections.HnswConfigDiff 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
Collections.WalConfigDiff 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 = 1
optional uint32 shard_number = 7;- Returns:
- Whether the shardNumber field is set.
-
getShardNumber
int getShardNumber()Number of shards in the collection, default = 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.
-