Interface Meta.RegionStatusOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Meta.RegionStatus, Meta.RegionStatus.Builder
Enclosing class:
Meta

public static interface Meta.RegionStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    the create timestamp in ms of region
    RegionHeartbeatState REGION_ONLINE: the leader of this region is online REGION_DOWN: the leader of this region cannot heartbeat to coordinator
    int
    RegionHeartbeatState REGION_ONLINE: the leader of this region is online REGION_DOWN: the leader of this region cannot heartbeat to coordinator
    long
    the last update(heartbeat) timestamp in ms of region
    RegionRaftStatus this status describe the data constistency of the raft region
    int
    RegionRaftStatus this status describe the data constistency of the raft region
    RegionType describe this region is a store region or index region for table, the region is store for index, the region is index (including vector index and scalar index)
    int
    RegionType describe this region is a store region or index region for table, the region is store for index, the region is index (including vector index and scalar index)
    ReplicaStatus this status describe the data safety of the raft region if this region is degraded, it means one or more replica is down
    int
    ReplicaStatus this status describe the data safety of the raft region if this region is degraded, it means one or more replica is down
    RegionState REGION_NEW: the region is creating, wait for store to finish the creation REGION_NORMAL: the region is normal and can serve all request other status refer to common.proto
    int
    RegionState REGION_NEW: the region is creating, wait for store to finish the creation REGION_NORMAL: the region is normal and can serve all request other status refer to common.proto

    Methods 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

    • getStateValue

      int getStateValue()
       RegionState
       REGION_NEW: the region is creating, wait for store to finish the creation
       REGION_NORMAL: the region is normal and can serve all request
       other status refer to common.proto
       
      .dingodb.pb.common.RegionState state = 1;
      Returns:
      The enum numeric value on the wire for state.
    • getState

      Common.RegionState getState()
       RegionState
       REGION_NEW: the region is creating, wait for store to finish the creation
       REGION_NORMAL: the region is normal and can serve all request
       other status refer to common.proto
       
      .dingodb.pb.common.RegionState state = 1;
      Returns:
      The state.
    • getRaftStatusValue

      int getRaftStatusValue()
       RegionRaftStatus
       this status describe the data constistency of the raft region
       
      .dingodb.pb.common.RegionRaftStatus raft_status = 2;
      Returns:
      The enum numeric value on the wire for raftStatus.
    • getRaftStatus

      Common.RegionRaftStatus getRaftStatus()
       RegionRaftStatus
       this status describe the data constistency of the raft region
       
      .dingodb.pb.common.RegionRaftStatus raft_status = 2;
      Returns:
      The raftStatus.
    • getReplicaStatusValue

      int getReplicaStatusValue()
       ReplicaStatus
       this status describe the data safety of the raft region
       if this region is degraded, it means one or more replica is down
       
      .dingodb.pb.common.ReplicaStatus replica_status = 3;
      Returns:
      The enum numeric value on the wire for replicaStatus.
    • getReplicaStatus

      Common.ReplicaStatus getReplicaStatus()
       ReplicaStatus
       this status describe the data safety of the raft region
       if this region is degraded, it means one or more replica is down
       
      .dingodb.pb.common.ReplicaStatus replica_status = 3;
      Returns:
      The replicaStatus.
    • getHeartbeatStateValue

      int getHeartbeatStateValue()
       RegionHeartbeatState
       REGION_ONLINE: the leader of this region is online
       REGION_DOWN: the leader of this region cannot heartbeat to coordinator
       
      .dingodb.pb.common.RegionHeartbeatState heartbeat_state = 4;
      Returns:
      The enum numeric value on the wire for heartbeatState.
    • getHeartbeatState

      Common.RegionHeartbeatState getHeartbeatState()
       RegionHeartbeatState
       REGION_ONLINE: the leader of this region is online
       REGION_DOWN: the leader of this region cannot heartbeat to coordinator
       
      .dingodb.pb.common.RegionHeartbeatState heartbeat_state = 4;
      Returns:
      The heartbeatState.
    • getRegionTypeValue

      int getRegionTypeValue()
       RegionType
       describe this region is a store region or index region
       for table, the region is store
       for index, the region is index (including vector index and scalar index)
       
      .dingodb.pb.common.RegionType region_type = 5;
      Returns:
      The enum numeric value on the wire for regionType.
    • getRegionType

      Common.RegionType getRegionType()
       RegionType
       describe this region is a store region or index region
       for table, the region is store
       for index, the region is index (including vector index and scalar index)
       
      .dingodb.pb.common.RegionType region_type = 5;
      Returns:
      The regionType.
    • getCreateTimestamp

      long getCreateTimestamp()
       the create timestamp in ms of region
       
      int64 create_timestamp = 10;
      Returns:
      The createTimestamp.
    • getLastUpdateTimestamp

      long getLastUpdateTimestamp()
       the last update(heartbeat) timestamp in ms of region
       
      int64 last_update_timestamp = 11;
      Returns:
      The lastUpdateTimestamp.