Package io.qdrant.client.grpc
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.ByteString
Name of the collectionConfiguration of vector indexConfiguration of vector indexSpecify name of the other collection to copy data fromcom.google.protobuf.ByteString
Specify name of the other collection to copy data fromboolean
If true - point's payload will not be stored in memoryConfiguration of the optimizersConfiguration of the optimizersQuantization configuration of vectorQuantization configuration of vectorint
Number of replicas of each shard that network tries to maintain, default = 1int
Number of shards in the collection, default is 1 for standalone, otherwise equal to the number of nodes.long
Wait 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-Logint
How many replicas should apply the operation for us to consider it successful, default = 1boolean
Configuration of vector indexboolean
Specify name of the other collection to copy data fromboolean
If true - point's payload will not be stored in memoryboolean
Configuration of the optimizersboolean
Quantization configuration of vectorboolean
Number of replicas of each shard that network tries to maintain, default = 1boolean
Number of shards in the collection, default is 1 for standalone, otherwise equal to the number of nodes.boolean
Wait timeout for operation commit in seconds, if not specified - default value will be suppliedboolean
Configuration for vectorsboolean
Configuration of the Write-Ahead-Logboolean
How many replicas should apply the operation for us to consider it successful, default = 1Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods 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 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;
-