Interface Common.RegionDefinitionOrBuilder

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

public static interface Common.RegionDefinitionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getId

      long getId()
       store info
       
      int64 id = 1;
      Returns:
      The id.
    • hasEpoch

      boolean hasEpoch()
      .dingodb.pb.common.RegionEpoch epoch = 2;
      Returns:
      Whether the epoch field is set.
    • getEpoch

      Common.RegionEpoch getEpoch()
      .dingodb.pb.common.RegionEpoch epoch = 2;
      Returns:
      The epoch.
    • getEpochOrBuilder

      Common.RegionEpochOrBuilder getEpochOrBuilder()
      .dingodb.pb.common.RegionEpoch epoch = 2;
    • getName

      String getName()
      string name = 3;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
      string name = 3;
      Returns:
      The bytes for name.
    • getPeersList

      List<Common.Peer> getPeersList()
      repeated .dingodb.pb.common.Peer peers = 4;
    • getPeers

      Common.Peer getPeers(int index)
      repeated .dingodb.pb.common.Peer peers = 4;
    • getPeersCount

      int getPeersCount()
      repeated .dingodb.pb.common.Peer peers = 4;
    • getPeersOrBuilderList

      List<? extends Common.PeerOrBuilder> getPeersOrBuilderList()
      repeated .dingodb.pb.common.Peer peers = 4;
    • getPeersOrBuilder

      Common.PeerOrBuilder getPeersOrBuilder(int index)
      repeated .dingodb.pb.common.Peer peers = 4;
    • hasRange

      boolean hasRange()
       this range is provide by user, such as sdk
       
      .dingodb.pb.common.Range range = 5;
      Returns:
      Whether the range field is set.
    • getRange

      Common.Range getRange()
       this range is provide by user, such as sdk
       
      .dingodb.pb.common.Range range = 5;
      Returns:
      The range.
    • getRangeOrBuilder

      Common.RangeOrBuilder getRangeOrBuilder()
       this range is provide by user, such as sdk
       
      .dingodb.pb.common.Range range = 5;
    • getRawEngineValue

      int getRawEngineValue()
       this is the raw engine of the region
       
      .dingodb.pb.common.RawEngine raw_engine = 6;
      Returns:
      The enum numeric value on the wire for rawEngine.
    • getRawEngine

      Common.RawEngine getRawEngine()
       this is the raw engine of the region
       
      .dingodb.pb.common.RawEngine raw_engine = 6;
      Returns:
      The rawEngine.
    • getStoreEngineValue

      int getStoreEngineValue()
       this is the store engine of the region
       
      .dingodb.pb.common.StorageEngine store_engine = 7;
      Returns:
      The enum numeric value on the wire for storeEngine.
    • getStoreEngine

      Common.StorageEngine getStoreEngine()
       this is the store engine of the region
       
      .dingodb.pb.common.StorageEngine store_engine = 7;
      Returns:
      The storeEngine.
    • getSchemaId

      long getSchemaId()
       meta info
       
      int64 schema_id = 11;
      Returns:
      The schemaId.
    • getTableId

      long getTableId()
      int64 table_id = 12;
      Returns:
      The tableId.
    • getIndexId

      long getIndexId()
      int64 index_id = 13;
      Returns:
      The indexId.
    • getPartId

      long getPartId()
       the partition_id of this region, each partion contains one or more regions
       
      int64 part_id = 14;
      Returns:
      The partId.
    • getTenantId

      long getTenantId()
       the tenant_id of this region, this is useful gc in multi-tenant scenario
       
      int64 tenant_id = 15;
      Returns:
      The tenantId.
    • hasIndexParameter

      boolean hasIndexParameter()
      .dingodb.pb.common.IndexParameter index_parameter = 20;
      Returns:
      Whether the indexParameter field is set.
    • getIndexParameter

      Common.IndexParameter getIndexParameter()
      .dingodb.pb.common.IndexParameter index_parameter = 20;
      Returns:
      The indexParameter.
    • getIndexParameterOrBuilder

      Common.IndexParameterOrBuilder getIndexParameterOrBuilder()
      .dingodb.pb.common.IndexParameter index_parameter = 20;
    • getRevision

      long getRevision()
      int64 revision = 50;
      Returns:
      The revision.