Interface Collections.CollectionParamsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Collections.CollectionParams,Collections.CollectionParams.Builder
- Enclosing class:
- Collections
public static interface Collections.CollectionParamsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIf true - point's payload will not be stored in memoryintNumber of replicas of each shard that network tries to maintainintNumber of shards in collectionConfiguration for vectorsConfiguration for vectorsintHow many replicas should apply the operation for us to consider it successfulbooleanNumber of replicas of each shard that network tries to maintainbooleanConfiguration for vectorsbooleanHow many replicas should apply the operation for us to consider it successfulMethods 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
-
getShardNumber
int getShardNumber()Number of shards in collection
uint32 shard_number = 3;- Returns:
- The shardNumber.
-
getOnDiskPayload
boolean getOnDiskPayload()If true - point's payload will not be stored in memory
bool on_disk_payload = 4;- Returns:
- The onDiskPayload.
-
hasVectorsConfig
boolean hasVectorsConfig()Configuration for vectors
optional .qdrant.VectorsConfig vectors_config = 5;- Returns:
- Whether the vectorsConfig field is set.
-
getVectorsConfig
Collections.VectorsConfig getVectorsConfig()Configuration for vectors
optional .qdrant.VectorsConfig vectors_config = 5;- Returns:
- The vectorsConfig.
-
getVectorsConfigOrBuilder
Collections.VectorsConfigOrBuilder getVectorsConfigOrBuilder()Configuration for vectors
optional .qdrant.VectorsConfig vectors_config = 5; -
hasReplicationFactor
boolean hasReplicationFactor()Number of replicas of each shard that network tries to maintain
optional uint32 replication_factor = 6;- Returns:
- Whether the replicationFactor field is set.
-
getReplicationFactor
int getReplicationFactor()Number of replicas of each shard that network tries to maintain
optional uint32 replication_factor = 6;- Returns:
- The replicationFactor.
-
hasWriteConsistencyFactor
boolean hasWriteConsistencyFactor()How many replicas should apply the operation for us to consider it successful
optional uint32 write_consistency_factor = 7;- Returns:
- Whether the writeConsistencyFactor field is set.
-
getWriteConsistencyFactor
int getWriteConsistencyFactor()How many replicas should apply the operation for us to consider it successful
optional uint32 write_consistency_factor = 7;- Returns:
- The writeConsistencyFactor.
-