Package org.apache.hadoop.hbase.client
Class RegionInfoBuilder
java.lang.Object
org.apache.hadoop.hbase.client.RegionInfoBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringA non-capture group so that this can be embedded.private byte[]static final RegionInfoRegionInfo for first meta region You cannot use this builder to make an instance of theFIRST_META_REGIONINFO.static final Stringprivate booleanprivate longprivate intprivate booleanprivate byte[]private final TableNamestatic final RegionInfo -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateRegionInfoBuilder(RegionInfo regionInfo) privateRegionInfoBuilder(TableName tableName) -
Method Summary
Modifier and TypeMethodDescriptionbuild()static RegionInfoBuildernewBuilder(RegionInfo regionInfo) static RegionInfoBuildernewBuilder(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
-