Package io.dingodb.meta
Interface Meta.RangeDistributionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Meta.RangeDistribution,Meta.RangeDistribution.Builder
- Enclosing class:
- Meta
public static interface Meta.RangeDistributionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetId()this is really region id, its parent entity is part_idthis is really region id, its parent entity is part_idthe leader's store locationthe leader's store locationgetLearners(int index) all members of the region that is learners, have no right to voteintall members of the region that is learners, have no right to voteall members of the region that is learners, have no right to votegetLearnersOrBuilder(int index) all members of the region that is learners, have no right to voteList<? extends Common.LocationOrBuilder>all members of the region that is learners, have no right to votegetRange()the range of this partthe range of this partregion_epoch is used to check whether the region info is staleregion_epoch is used to check whether the region info is stalelongint64 regionmap_epoch = 6;RegionStatusRegionStatuslongint64 storemap_epoch = 7;getVoters(int index) all members of the region that have right to vote, this field is equal to the old replicates field of Part.intall members of the region that have right to vote, this field is equal to the old replicates field of Part.all members of the region that have right to vote, this field is equal to the old replicates field of Part.getVotersOrBuilder(int index) all members of the region that have right to vote, this field is equal to the old replicates field of Part.List<? extends Common.LocationOrBuilder>all members of the region that have right to vote, this field is equal to the old replicates field of Part.booleanhasId()this is really region id, its parent entity is part_idbooleanthe leader's store locationbooleanhasRange()the range of this partbooleanregion_epoch is used to check whether the region info is stalebooleanRegionStatusMethods 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
-
hasId
boolean hasId()this is really region id, its parent entity is part_id
.dingodb.pb.meta.DingoCommonId id = 1;- Returns:
- Whether the id field is set.
-
getId
Meta.DingoCommonId getId()this is really region id, its parent entity is part_id
.dingodb.pb.meta.DingoCommonId id = 1;- Returns:
- The id.
-
getIdOrBuilder
Meta.DingoCommonIdOrBuilder getIdOrBuilder()this is really region id, its parent entity is part_id
.dingodb.pb.meta.DingoCommonId id = 1; -
hasRange
boolean hasRange()the range of this part
.dingodb.pb.common.Range range = 2;- Returns:
- Whether the range field is set.
-
getRange
Common.Range getRange()the range of this part
.dingodb.pb.common.Range range = 2;- Returns:
- The range.
-
getRangeOrBuilder
Common.RangeOrBuilder getRangeOrBuilder()the range of this part
.dingodb.pb.common.Range range = 2; -
hasLeader
boolean hasLeader()the leader's store location
.dingodb.pb.common.Location leader = 3;- Returns:
- Whether the leader field is set.
-
getLeader
Common.Location getLeader()the leader's store location
.dingodb.pb.common.Location leader = 3;- Returns:
- The leader.
-
getLeaderOrBuilder
Common.LocationOrBuilder getLeaderOrBuilder()the leader's store location
.dingodb.pb.common.Location leader = 3; -
getVotersList
List<Common.Location> getVotersList()all members of the region that have right to vote, this field is equal to the old replicates field of Part.
repeated .dingodb.pb.common.Location voters = 4; -
getVoters
all members of the region that have right to vote, this field is equal to the old replicates field of Part.
repeated .dingodb.pb.common.Location voters = 4; -
getVotersCount
int getVotersCount()all members of the region that have right to vote, this field is equal to the old replicates field of Part.
repeated .dingodb.pb.common.Location voters = 4; -
getVotersOrBuilderList
List<? extends Common.LocationOrBuilder> getVotersOrBuilderList()all members of the region that have right to vote, this field is equal to the old replicates field of Part.
repeated .dingodb.pb.common.Location voters = 4; -
getVotersOrBuilder
all members of the region that have right to vote, this field is equal to the old replicates field of Part.
repeated .dingodb.pb.common.Location voters = 4; -
getLearnersList
List<Common.Location> getLearnersList()all members of the region that is learners, have no right to vote
repeated .dingodb.pb.common.Location learners = 5; -
getLearners
all members of the region that is learners, have no right to vote
repeated .dingodb.pb.common.Location learners = 5; -
getLearnersCount
int getLearnersCount()all members of the region that is learners, have no right to vote
repeated .dingodb.pb.common.Location learners = 5; -
getLearnersOrBuilderList
List<? extends Common.LocationOrBuilder> getLearnersOrBuilderList()all members of the region that is learners, have no right to vote
repeated .dingodb.pb.common.Location learners = 5; -
getLearnersOrBuilder
all members of the region that is learners, have no right to vote
repeated .dingodb.pb.common.Location learners = 5; -
getRegionmapEpoch
long getRegionmapEpoch()int64 regionmap_epoch = 6;- Returns:
- The regionmapEpoch.
-
getStoremapEpoch
long getStoremapEpoch()int64 storemap_epoch = 7;- Returns:
- The storemapEpoch.
-
hasRegionEpoch
boolean hasRegionEpoch()region_epoch is used to check whether the region info is stale
.dingodb.pb.common.RegionEpoch region_epoch = 8;- Returns:
- Whether the regionEpoch field is set.
-
getRegionEpoch
Common.RegionEpoch getRegionEpoch()region_epoch is used to check whether the region info is stale
.dingodb.pb.common.RegionEpoch region_epoch = 8;- Returns:
- The regionEpoch.
-
getRegionEpochOrBuilder
Common.RegionEpochOrBuilder getRegionEpochOrBuilder()region_epoch is used to check whether the region info is stale
.dingodb.pb.common.RegionEpoch region_epoch = 8; -
hasStatus
boolean hasStatus()RegionStatus
.dingodb.pb.meta.RegionStatus status = 9;- Returns:
- Whether the status field is set.
-
getStatus
Meta.RegionStatus getStatus()RegionStatus
.dingodb.pb.meta.RegionStatus status = 9;- Returns:
- The status.
-
getStatusOrBuilder
Meta.RegionStatusOrBuilder getStatusOrBuilder()RegionStatus
.dingodb.pb.meta.RegionStatus status = 9;
-