Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E7083200CE6 for ; Fri, 15 Sep 2017 17:14:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E52EB1609CF; Fri, 15 Sep 2017 15:14:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DEB8A1609D8 for ; Fri, 15 Sep 2017 17:14:22 +0200 (CEST) Received: (qmail 59655 invoked by uid 500); 15 Sep 2017 15:14:14 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 55378 invoked by uid 99); 15 Sep 2017 15:14:11 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Sep 2017 15:14:11 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 89BE5F583D; Fri, 15 Sep 2017 15:14:10 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: git-site-role@apache.org To: commits@hbase.apache.org Date: Fri, 15 Sep 2017 15:14:56 -0000 Message-Id: In-Reply-To: <375fcb2b955a46d488a25212d451afce@git.apache.org> References: <375fcb2b955a46d488a25212d451afce@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [48/51] [partial] hbase-site git commit: Published site at . archived-at: Fri, 15 Sep 2017 15:14:25 -0000 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/82166ec2/apidocs/org/apache/hadoop/hbase/HRegionInfo.html ---------------------------------------------------------------------- diff --git a/apidocs/org/apache/hadoop/hbase/HRegionInfo.html b/apidocs/org/apache/hadoop/hbase/HRegionInfo.html index 55d7778..838060f 100644 --- a/apidocs/org/apache/hadoop/hbase/HRegionInfo.html +++ b/apidocs/org/apache/hadoop/hbase/HRegionInfo.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":9,"i1":10,"i2":10,"i3":10,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":10,"i13":42,"i14":9,"i15":10,"i16":10,"i17":10,"i18":9,"i19":10,"i20":10,"i21":10,"i22":9,"i23":9,"i24":10,"i25":10,"i26":9,"i27":9,"i28":10,"i29":9,"i30":9,"i31":10,"i32":9,"i33":10,"i34":9,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":9,"i42":9,"i43":9,"i44":9,"i45":9,"i46":9,"i47":9,"i48":9,"i49":10,"i50":10,"i51":10,"i52":10,"i53":9,"i54":10}; +var methods = {"i0":41,"i1":42,"i2":42,"i3":42,"i4":41,"i5":42,"i6":42,"i7":42,"i8":42,"i9":42,"i10":42,"i11":42,"i12":42,"i13":42,"i14":42,"i15":41,"i16":41,"i17":42,"i18":41,"i19":42,"i20":41,"i21":42,"i22":41,"i23":42,"i24":42,"i25":42,"i26":42,"i27":42,"i28":42,"i29":41,"i30":41,"i31":41,"i32":41,"i33":41,"i34":42,"i35":42,"i36":42,"i37":42,"i38":42}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -109,14 +109,19 @@ var activeTableTab = "activeTableTab";
  • All Implemented Interfaces:
    -
    Comparable<HRegionInfo>
    +
    Comparable<HRegionInfo>, RegionInfo

    +
    Deprecated.  +
    As of release 2.0.0, this will be removed in HBase 3.0.0. + use RegionInfoBuilder to build RegionInfo.
    +

    -
    @InterfaceAudience.Public
    -public class HRegionInfo
    +
    @Deprecated
    + @InterfaceAudience.Public
    +public class HRegionInfo
     extends Object
    -implements Comparable<HRegionInfo>
    +implements RegionInfo, Comparable<HRegionInfo>
    Information about a region. A region is a range of keys in the whole keyspace of a table, an identifier (a timestamp) for differentiating between subset ranges (after region split) and a replicaId for differentiating the instance for the same range and some status information @@ -164,48 +169,36 @@ implements Field and Description -static int -DEFAULT_REPLICA_ID  - - static String ENCODED_REGION_NAME_REGEX +
    Deprecated. 
    A non-capture group so that this can be embedded.
    - + static HRegionInfo FIRST_META_REGIONINFO +
    Deprecated. 
    HRegionInfo for first meta region
    - -static byte[] -HIDDEN_END_KEY  - static byte[] -HIDDEN_START_KEY  - - -static String -INVALID_REGION_NAME_FORMAT_MESSAGE  - - -static int -MD5_HEX_LENGTH  +HIDDEN_END_KEY +
    Deprecated. 
    +  -static String -NO_HASH  +static byte[] +HIDDEN_START_KEY +
    Deprecated. 
    +  -static byte -REPLICA_ID_DELIMITER  - - static String -REPLICA_ID_FORMAT  +NO_HASH +
    Deprecated. 
  • @@ -223,25 +216,33 @@ implements HRegionInfo(HRegionInfo other) +
    Deprecated. 
    Costruct a copy of another HRegionInfo
    HRegionInfo(HRegionInfo other, - int replicaId)  + int replicaId) +
    Deprecated. 
    HRegionInfo(long regionId, TableName tableName, - int replicaId)  + int replicaId) +
    Deprecated. 
    +  -HRegionInfo(TableName tableName)  +HRegionInfo(TableName tableName) +
    Deprecated. 
    HRegionInfo(TableName tableName, byte[] startKey, byte[] endKey) +
    Deprecated. 
    Construct HRegionInfo with explicit parameters
    @@ -250,6 +251,7 @@ implements Deprecated. 
    Construct HRegionInfo with explicit parameters
    @@ -259,6 +261,7 @@ implements
    Deprecated. 
    Construct HRegionInfo with explicit parameters
    @@ -269,6 +272,7 @@ implements
    Deprecated. 
    Construct HRegionInfo with explicit parameters
    @@ -291,17 +295,23 @@ implements
    static boolean areAdjacent(HRegionInfo regionA, HRegionInfo regionB) -
    Check whether two regions are adjacent
    +
    Deprecated.  +
    As of release 2.0.0, this will be removed in HBase 3.0.0 + Use RegionInfo.areAdjacent(RegionInfo, RegionInfo).
    +
    int -compareTo(HRegionInfo o)  +compareTo(HRegionInfo o) +
    Deprecated. 
    boolean containsRange(byte[] rangeStartKey, byte[] rangeEndKey) +
    Deprecated. 
    Returns true if the given inclusive range of rows is fully contained by this region.
    @@ -309,77 +319,26 @@ implements boolean containsRow(byte[] row) +
    Deprecated. 
    Return true if the given row falls in this region.
    -static HRegionInfo -convert(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionInfo proto) -
    Convert a RegionInfo to a HRegionInfo
    +static String +encodeRegionName(byte[] regionName) +
    Deprecated.  +
    As of release 2.0.0, this will be removed in HBase 3.0.0 + Use RegionInfo.encodeRegionName(byte[]).
    +
    -static org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionInfo -convert(HRegionInfo info) -
    Convert a HRegionInfo to a RegionInfo
    - - - -static byte[] -createRegionName(TableName tableName, - byte[] startKey, - byte[] id, - boolean newFormat) -
    Make a region name of passed parameters.
    - - - -static byte[] -createRegionName(TableName tableName, - byte[] startKey, - byte[] id, - int replicaId, - boolean newFormat) -
    Make a region name of passed parameters.
    - - - -static byte[] -createRegionName(TableName tableName, - byte[] startKey, - long regionid, - boolean newFormat) -
    Make a region name of passed parameters.
    - - - -static byte[] -createRegionName(TableName tableName, - byte[] startKey, - long regionid, - int replicaId, - boolean newFormat) -
    Make a region name of passed parameters.
    - - - -static byte[] -createRegionName(TableName tableName, - byte[] startKey, - String id, - boolean newFormat) -
    Make a region name of passed parameters.
    - - - -static String -encodeRegionName(byte[] regionName)  - - boolean -equals(Object o)  +equals(Object o) +
    Deprecated. 
    +  - + org.apache.hadoop.hbase.KeyValue.KVComparator getComparator()
    Deprecated.  @@ -387,215 +346,243 @@ implements -static String -getDescriptiveNameFromRegionStateForDisplay(org.apache.hadoop.hbase.master.RegionState state, - org.apache.hadoop.conf.Configuration conf) -
    Get the descriptive name as RegionState does it but with hidden - startkey optionally
    - - - + String -getEncodedName()  +getEncodedName() +
    Deprecated. 
    +  - + byte[] -getEncodedNameAsBytes()  +getEncodedNameAsBytes() +
    Deprecated. 
    +  - + byte[] -getEndKey()  - - -static byte[] -getEndKeyForDisplay(HRegionInfo hri, - org.apache.hadoop.conf.Configuration conf) -
    Get the end key for display.
    - +getEndKey() +
    Deprecated. 
    +  - + long -getRegionId()  +getRegionId() +
    Deprecated. 
    +  - + byte[] -getRegionName()  +getRegionName() +
    Deprecated. 
    +  - + String -getRegionNameAsString()  - - -static String -getRegionNameAsStringForDisplay(HRegionInfo hri, - org.apache.hadoop.conf.Configuration conf) -
    Get the region name for display.
    - - - -static byte[] -getRegionNameForDisplay(HRegionInfo hri, - org.apache.hadoop.conf.Configuration conf) -
    Get the region name for display.
    - +getRegionNameAsString() +
    Deprecated. 
    +  - + int getReplicaId() +
    Deprecated. 
    Returns the region replica id
    - + String -getShortNameToLog()  +getShortNameToLog() +
    Deprecated. 
    +  - + static String -getShortNameToLog(HRegionInfo... hris)  +getShortNameToLog(HRegionInfo... hris) +
    Deprecated.  +
    As of release 2.0.0, this will be removed in HBase 3.0.0 + Use RegionInfo.getShortNameToLog(RegionInfo...).
    +
    + - + static String -getShortNameToLog(List<HRegionInfo> hris)  +getShortNameToLog(List<HRegionInfo> hris) +
    Deprecated.  +
    As of release 2.0.0, this will be removed in HBase 3.0.0 + Use RegionInfo.getShortNameToLog(List))}.
    +
    + - + byte[] -getStartKey()  +getStartKey() +
    Deprecated. 
    +  - + static byte[] getStartKey(byte[] regionName) -
    Gets the start key from the specified region name.
    - - - -static byte[] -getStartKeyForDisplay(HRegionInfo hri, - org.apache.hadoop.conf.Configuration conf) -
    Get the start key for display.
    +
    Deprecated.  +
    As of release 2.0.0, this will be removed in HBase 3.0.0 + Use RegionInfo.getStartKey(byte[]).
    +
    - + TableName getTable() +
    Deprecated. 
    Get current table name of the region
    - + static TableName getTable(byte[] regionName) -
    Gets the table name from the specified region name.
    +
    Deprecated.  +
    As of release 2.0.0, this will be removed in HBase 3.0.0 + Use RegionInfo.getTable(byte[]).
    +
    - + int -hashCode()  +hashCode() +
    Deprecated. 
    +  - + static boolean -isEncodedRegionName(byte[] regionName)  +isEncodedRegionName(byte[] regionName) +
    Deprecated.  +
    As of release 2.0.0, this will be removed in HBase 3.0.0 + Use RegionInfo.isEncodedRegionName(byte[]).
    +
    + - + boolean -isMetaRegion()  +isMetaRegion() +
    Deprecated. 
    +  - + boolean -isMetaTable()  +isMetaTable() +
    Deprecated. 
    +  - + boolean -isOffline()  +isOffline() +
    Deprecated. 
    +  - + boolean -isSplit()  +isSplit() +
    Deprecated. 
    +  - + boolean -isSplitParent()  +isSplitParent() +
    Deprecated. 
    +  - + boolean -isSystemTable()  +isSystemTable() +
    Deprecated. 
    +  - + static List<HRegionInfo> parseDelimitedFrom(byte[] bytes, int offset, int length) -
    Parses all the HRegionInfo instances from the passed in stream until EOF.
    +
    Deprecated.  +
    As of release 2.0.0, this will be removed in HBase 3.0.0 + Use RegionInfo.parseDelimitedFrom(byte[], int, int).
    +
    - + static HRegionInfo -parseFrom(byte[] bytes)  +parseFrom(byte[] bytes) +
    Deprecated.  +
    As of release 2.0.0, this will be removed in HBase 3.0.0 + Use RegionInfo.parseFrom(byte[]).
    +
    + - + static HRegionInfo parseFrom(byte[] bytes, int offset, - int len)  - - -static HRegionInfo -parseFrom(DataInputStream in) -
    Parses an HRegionInfo instance from the passed in stream.
    + int len) +
    Deprecated.  +
    As of release 2.0.0, this will be removed in HBase 3.0.0 + Use RegionInfo.parseFrom(byte[], int, int).
    +
    - + static HRegionInfo -parseFromOrNull(byte[] bytes)  +parseFromOrNull(byte[] bytes) +
    Deprecated.  +
    As of release 2.0.0, this will be removed in HBase 3.0.0 + Use RegionInfo.parseFromOrNull(byte[]).
    +
    + - + static HRegionInfo parseFromOrNull(byte[] bytes, int offset, - int len)  - - -static byte[][] -parseRegionName(byte[] regionName) -
    Separate elements of a regionName.
    - - - -static String -prettyPrint(String encodedRegionName) -
    Use logging.
    + int len) +
    Deprecated.  +
    As of release 2.0.0, this will be removed in HBase 3.0.0 + Use RegionInfo.parseFromOrNull(byte[], int, int).
    +
    - + void setOffline(boolean offLine) +
    Deprecated. 
    The parent of a region split is offline while split daughters hold references to the parent.
    - + void -setSplit(boolean split)  +setSplit(boolean split) +
    Deprecated. 
    +  - + byte[] -toByteArray()  +toByteArray() +
    Deprecated.  +
    As of release 2.0.0, this will be removed in HBase 3.0.0 + Use RegionInfo.toByteArray(RegionInfo).
    +
    + - + byte[] toDelimitedByteArray() -
    Use this instead of toByteArray() when writing to a stream and you want to use - the pb mergeDelimitedFrom (w/o the delimiter, pb reads to EOF which may not be what you want).
    - - - -static byte[] -toDelimitedByteArray(HRegionInfo... infos) -
    Serializes given HRegionInfo's as a byte array.
    +
    Deprecated.  +
    As of release 2.0.0, this will be removed in HBase 3.0.0 + Use RegionInfo.toDelimitedByteArray(RegionInfo).
    +
    - + String -toString()  +toString() +
    Deprecated. 
    + @@ -619,26 +613,14 @@ implements - - - @@ -722,7 +654,8 @@ implements
  • HIDDEN_START_KEY

    -
    public static final byte[] HIDDEN_START_KEY
    +
    public static final byte[] HIDDEN_START_KEY
    +
    Deprecated. 
  • @@ -731,7 +664,8 @@ implements
  • FIRST_META_REGIONINFO

    -
    public static final HRegionInfo FIRST_META_REGIONINFO
    +
    public static final HRegionInfo FIRST_META_REGIONINFO
    +
    Deprecated. 
    HRegionInfo for first meta region
  • @@ -749,9 +683,10 @@ implements
  • HRegionInfo

    -
    public HRegionInfo(long regionId,
    +
    public HRegionInfo(long regionId,
                        TableName tableName,
                        int replicaId)
    +
    Deprecated. 
  • @@ -760,7 +695,8 @@ implements
  • HRegionInfo

    -
    public HRegionInfo(TableName tableName)
    +
    public HRegionInfo(TableName tableName)
    +
    Deprecated. 
  • @@ -769,10 +705,11 @@ implements
  • HRegionInfo

    -
    public HRegionInfo(TableName tableName,
    +
    public HRegionInfo(TableName tableName,
                        byte[] startKey,
                        byte[] endKey)
                 throws IllegalArgumentException
    +
    Deprecated. 
    Construct HRegionInfo with explicit parameters
    Parameters:
    @@ -790,11 +727,12 @@ implements
  • HRegionInfo

    -
    public HRegionInfo(TableName tableName,
    +
    public HRegionInfo(TableName tableName,
                        byte[] startKey,
                        byte[] endKey,
                        boolean split)
                 throws IllegalArgumentException
    +
    Deprecated. 
    Construct HRegionInfo with explicit parameters
    Parameters:
    @@ -814,12 +752,13 @@ implements
  • HRegionInfo

    -
    public HRegionInfo(TableName tableName,
    +
    public HRegionInfo(TableName tableName,
                        byte[] startKey,
                        byte[] endKey,
                        boolean split,
                        long regionid)
                 throws IllegalArgumentException
    +
    Deprecated. 
    Construct HRegionInfo with explicit parameters
    Parameters:
    @@ -840,13 +779,14 @@ implements
  • HRegionInfo

    -
    public HRegionInfo(TableName tableName,
    +
    public HRegionInfo(TableName tableName,
                        byte[] startKey,
                        byte[] endKey,
                        boolean split,
                        long regionid,
                        int replicaId)
                 throws IllegalArgumentException
    +
    Deprecated. 
    Construct HRegionInfo with explicit parameters
    Parameters:
    @@ -868,7 +808,8 @@ implements
  • HRegionInfo

    -
    public HRegionInfo(HRegionInfo other)
    +
    public HRegionInfo(HRegionInfo other)
    +
    Deprecated. 
    Costruct a copy of another HRegionInfo
    Parameters:
    @@ -882,8 +823,9 @@ implements
  • HRegionInfo

    -
    public HRegionInfo(HRegionInfo other,
    +
    public HRegionInfo(HRegionInfo other,
                        int replicaId)
    +
    Deprecated. 
  • @@ -900,8 +842,13 @@ implements
  • encodeRegionName

    -
    public static String encodeRegionName(byte[] regionName)
    +
    @Deprecated
    +public static String encodeRegionName(byte[] regionName)
    +
    Deprecated. As of release 2.0.0, this will be removed in HBase 3.0.0 + Use RegionInfo.encodeRegionName(byte[]).
    +
    Specified by:
    +
    encodeRegionName in interface RegionInfo
    Parameters:
    regionName -
    Returns:
    @@ -915,8 +862,11 @@ implements
  • getShortNameToLog

    -
    public String getShortNameToLog()
    +
    public String getShortNameToLog()
    +
    Deprecated. 
    +
    Specified by:
    +
    getShortNameToLog in interface RegionInfo
    Returns:
    Return a short, printable name for this region (usually encoded name) for us logging.
    @@ -928,7 +878,10 @@ implements
  • getShortNameToLog

    -
    public static String getShortNameToLog(HRegionInfo... hris)
    +
    @Deprecated
    +public static String getShortNameToLog(HRegionInfo... hris)
    +
    Deprecated. As of release 2.0.0, this will be removed in HBase 3.0.0 + Use RegionInfo.getShortNameToLog(RegionInfo...).
  • @@ -937,7 +890,10 @@ implements
  • getShortNameToLog

    -
    public static String getShortNameToLog(List<HRegionInfo> hris)
    +
    @Deprecated
    +public static String getShortNameToLog(List<HRegionInfo> hris)
    +
    Deprecated. As of release 2.0.0, this will be removed in HBase 3.0.0 + Use RegionInfo.getShortNameToLog(List))}.
    Returns:
    Return a String of short, printable names for hris @@ -945,150 +901,20 @@ implements - - -
      -
    • -

      prettyPrint

      -
      public static String prettyPrint(String encodedRegionName)
      -
      Use logging.
      -
      -
      Parameters:
      -
      encodedRegionName - The encoded regionname.
      -
      Returns:
      -
      hbase:meta if passed 1028785192 else returns - encodedRegionName
      -
      -
    • -
    - - - -
      -
    • -

      createRegionName

      -
      public static byte[] createRegionName(TableName tableName,
      -                                      byte[] startKey,
      -                                      long regionid,
      -                                      boolean newFormat)
      -
      Make a region name of passed parameters.
      -
      -
      Parameters:
      -
      tableName -
      -
      startKey - Can be null
      -
      regionid - Region id (Usually timestamp from when region was created).
      -
      newFormat - should we create the region name in the new format - (such that it contains its encoded name?).
      -
      Returns:
      -
      Region name made of passed tableName, startKey and id
      -
      -
    • -
    - - - -
      -
    • -

      createRegionName

      -
      public static byte[] createRegionName(TableName tableName,
      -                                      byte[] startKey,
      -                                      String id,
      -                                      boolean newFormat)
      -
      Make a region name of passed parameters.
      -
      -
      Parameters:
      -
      tableName -
      -
      startKey - Can be null
      -
      id - Region id (Usually timestamp from when region was created).
      -
      newFormat - should we create the region name in the new format - (such that it contains its encoded name?).
      -
      Returns:
      -
      Region name made of passed tableName, startKey and id
      -
      -
    • -
    - - - -
      -
    • -

      createRegionName

      -
      public static byte[] createRegionName(TableName tableName,
      -                                      byte[] startKey,
      -                                      long regionid,
      -                                      int replicaId,
      -                                      boolean newFormat)
      -
      Make a region name of passed parameters.
      -
      -
      Parameters:
      -
      tableName -
      -
      startKey - Can be null
      -
      regionid - Region id (Usually timestamp from when region was created).
      -
      replicaId -
      -
      newFormat - should we create the region name in the new format - (such that it contains its encoded name?).
      -
      Returns:
      -
      Region name made of passed tableName, startKey, id and replicaId
      -
      -
    • -
    - - - -
      -
    • -

      createRegionName

      -
      public static byte[] createRegionName(TableName tableName,
      -                                      byte[] startKey,
      -                                      byte[] id,
      -                                      boolean newFormat)
      -
      Make a region name of passed parameters.
      -
      -
      Parameters:
      -
      tableName -
      -
      startKey - Can be null
      -
      id - Region id (Usually timestamp from when region was created).
      -
      newFormat - should we create the region name in the new format - (such that it contains its encoded name?).
      -
      Returns:
      -
      Region name made of passed tableName, startKey and id
      -
      -
    • -
    - - - -
      -
    • -

      createRegionName

      -
      public static byte[] createRegionName(TableName tableName,
      -                                      byte[] startKey,
      -                                      byte[] id,
      -                                      int replicaId,
      -                                      boolean newFormat)
      -
      Make a region name of passed parameters.
      -
      -
      Parameters:
      -
      tableName -
      -
      startKey - Can be null
      -
      id - Region id (Usually timestamp from when region was created).
      -
      replicaId -
      -
      newFormat - should we create the region name in the new format
      -
      Returns:
      -
      Region name made of passed tableName, startKey, id and replicaId
      -
      -
    • -