Package org.apache.hadoop.hbase.client
Class RegionInfoBuilder
java.lang.Object
org.apache.hadoop.hbase.client.RegionInfoBuilder
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
A non-capture group so that this can be embedded.private byte[]
static final RegionInfo
RegionInfo for first meta region You cannot use this builder to make an instance of theFIRST_META_REGIONINFO
.static final String
private boolean
private long
private int
private boolean
private byte[]
private final TableName
static final RegionInfo
-
Constructor Summary
ModifierConstructorDescriptionprivate
RegionInfoBuilder
(RegionInfo regionInfo) private
RegionInfoBuilder
(TableName tableName) -
Method Summary
Modifier and TypeMethodDescriptionbuild()
static RegionInfoBuilder
newBuilder
(RegionInfo regionInfo) static RegionInfoBuilder
newBuilder
(TableName tableName) setEndKey
(byte[] endKey) setOffline
(boolean offLine) Deprecated.setRegionId
(long regionId) setReplicaId
(int replicaId) setSplit
(boolean split) setStartKey
(byte[] startKey)
-
Field Details
-
ENCODED_REGION_NAME_REGEX
A non-capture group so that this can be embedded.- See Also:
-
NO_HASH
-
UNDEFINED
-
FIRST_META_REGIONINFO
RegionInfo for first meta region You cannot use this builder to make an instance of theFIRST_META_REGIONINFO
. Just refer to this instance. Also, while the instance is actually a MutableRI, its type is just RI so the mutable methods are not available (unless you go casting); it appears as immutable (I tried adding Immutable type but it just makes a mess). -
tableName
-
startKey
-
endKey
-
regionId
-
replicaId
-
offLine
-
split
-
-
Constructor Details
-
RegionInfoBuilder
-
RegionInfoBuilder
-
-
Method Details
-
newBuilder
-
newBuilder
-
setStartKey
-
setEndKey
-
setRegionId
-
setReplicaId
-
setSplit
-
setOffline
Deprecated. -
build
-