Package io.dingodb.raft
Interface Raft.SplitRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Raft.SplitRequest,Raft.SplitRequest.Builder
- Enclosing class:
- Raft
public static interface Raft.SplitRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetEpoch()current region epochcurrent region epochlongsplit from region idlonggetJobId()the split job idcom.google.protobuf.ByteStringsplit watershed key.dingodb.pb.raft.SplitStrategy split_strategy = 6;int.dingodb.pb.raft.SplitStrategy split_strategy = 6;longsplit to region idbooleanhasEpoch()current region epochMethods 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
-
getJobId
long getJobId()the split job id
int64 job_id = 1;- Returns:
- The jobId.
-
getFromRegionId
long getFromRegionId()split from region id
int64 from_region_id = 2;- Returns:
- The fromRegionId.
-
getToRegionId
long getToRegionId()split to region id
int64 to_region_id = 3;- Returns:
- The toRegionId.
-
getSplitKey
com.google.protobuf.ByteString getSplitKey()split watershed key
bytes split_key = 4;- Returns:
- The splitKey.
-
hasEpoch
boolean hasEpoch()current region epoch
.dingodb.pb.common.RegionEpoch epoch = 5;- Returns:
- Whether the epoch field is set.
-
getEpoch
Common.RegionEpoch getEpoch()current region epoch
.dingodb.pb.common.RegionEpoch epoch = 5;- Returns:
- The epoch.
-
getEpochOrBuilder
Common.RegionEpochOrBuilder getEpochOrBuilder()current region epoch
.dingodb.pb.common.RegionEpoch epoch = 5; -
getSplitStrategyValue
int getSplitStrategyValue().dingodb.pb.raft.SplitStrategy split_strategy = 6;- Returns:
- The enum numeric value on the wire for splitStrategy.
-
getSplitStrategy
Raft.SplitStrategy getSplitStrategy().dingodb.pb.raft.SplitStrategy split_strategy = 6;- Returns:
- The splitStrategy.
-