public static interface Pdpb.ScatterRegionRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getGroup()
If group is defined, the regions with the same group would be scattered as a whole group.
|
com.google.protobuf.ByteString |
getGroupBytes()
If group is defined, the regions with the same group would be scattered as a whole group.
|
Pdpb.RequestHeader |
getHeader()
.pdpb.RequestHeader header = 1; |
Pdpb.RequestHeaderOrBuilder |
getHeaderOrBuilder()
.pdpb.RequestHeader header = 1; |
Metapb.Peer |
getLeader()
.metapb.Peer leader = 4; |
Metapb.PeerOrBuilder |
getLeaderOrBuilder()
.metapb.Peer leader = 4; |
Metapb.Region |
getRegion()
PD will use these region information if it can't find the region.
|
long |
getRegionId()
Deprecated.
|
Metapb.RegionOrBuilder |
getRegionOrBuilder()
PD will use these region information if it can't find the region.
|
long |
getRegionsId(int index)
If regions_id is defined, the region_id would be ignored.
|
int |
getRegionsIdCount()
If regions_id is defined, the region_id would be ignored.
|
List<Long> |
getRegionsIdList()
If regions_id is defined, the region_id would be ignored.
|
long |
getRetryLimit()
uint64 retry_limit = 7; |
boolean |
hasHeader()
.pdpb.RequestHeader header = 1; |
boolean |
hasLeader()
.metapb.Peer leader = 4; |
boolean |
hasRegion()
PD will use these region information if it can't find the region.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasHeader()
.pdpb.RequestHeader header = 1;
Pdpb.RequestHeader getHeader()
.pdpb.RequestHeader header = 1;
Pdpb.RequestHeaderOrBuilder getHeaderOrBuilder()
.pdpb.RequestHeader header = 1;
@Deprecated long getRegionId()
uint64 region_id = 2 [deprecated = true];
boolean hasRegion()
PD will use these region information if it can't find the region. For example, the region is just split and hasn't report to PD yet.
.metapb.Region region = 3;
Metapb.Region getRegion()
PD will use these region information if it can't find the region. For example, the region is just split and hasn't report to PD yet.
.metapb.Region region = 3;
Metapb.RegionOrBuilder getRegionOrBuilder()
PD will use these region information if it can't find the region. For example, the region is just split and hasn't report to PD yet.
.metapb.Region region = 3;
boolean hasLeader()
.metapb.Peer leader = 4;
Metapb.Peer getLeader()
.metapb.Peer leader = 4;
Metapb.PeerOrBuilder getLeaderOrBuilder()
.metapb.Peer leader = 4;
String getGroup()
If group is defined, the regions with the same group would be scattered as a whole group. If not defined, the regions would be scattered in a cluster level.
string group = 5;
com.google.protobuf.ByteString getGroupBytes()
If group is defined, the regions with the same group would be scattered as a whole group. If not defined, the regions would be scattered in a cluster level.
string group = 5;
List<Long> getRegionsIdList()
If regions_id is defined, the region_id would be ignored.
repeated uint64 regions_id = 6;
int getRegionsIdCount()
If regions_id is defined, the region_id would be ignored.
repeated uint64 regions_id = 6;
long getRegionsId(int index)
If regions_id is defined, the region_id would be ignored.
repeated uint64 regions_id = 6;
index
- The index of the element to return.long getRetryLimit()
uint64 retry_limit = 7;
Copyright © 2024 PingCAP. All rights reserved.