Package io.qdrant.client.grpc
Interface Collections.LocalShardInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Collections.LocalShardInfo
,Collections.LocalShardInfo.Builder
- Enclosing class:
- Collections
public static interface Collections.LocalShardInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlong
Number of points in the shardint
Local shard idgetState()
Is replica activeint
Is replica activeMethods 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
-
getShardId
int getShardId()Local shard id
uint32 shard_id = 1;
- Returns:
- The shardId.
-
getPointsCount
long getPointsCount()Number of points in the shard
uint64 points_count = 2;
- Returns:
- The pointsCount.
-
getStateValue
int getStateValue()Is replica active
.qdrant.ReplicaState state = 3;
- Returns:
- The enum numeric value on the wire for state.
-
getState
Collections.ReplicaState getState()Is replica active
.qdrant.ReplicaState state = 3;
- Returns:
- The state.
-