Package | Description |
---|---|
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.master | |
org.apache.hadoop.hbase.protobuf |
Holds classes generated from protobuf
src/main/protobuf definition files. |
org.apache.hadoop.hbase.zookeeper |
Modifier and Type | Method and Description |
---|---|
static Admin.MasterSwitchType |
Admin.MasterSwitchType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Admin.MasterSwitchType[] |
Admin.MasterSwitchType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Admin.isSplitOrMergeEnabled(Admin.MasterSwitchType switchType)
Query the current state of the switch
|
boolean |
HBaseAdmin.isSplitOrMergeEnabled(Admin.MasterSwitchType switchType) |
boolean[] |
Admin.setSplitOrMergeEnabled(boolean enabled,
boolean synchronous,
Admin.MasterSwitchType... switchTypes)
Turn the Split or Merge switches on or off.
|
boolean[] |
HBaseAdmin.setSplitOrMergeEnabled(boolean enabled,
boolean synchronous,
Admin.MasterSwitchType... switchTypes) |
Modifier and Type | Method and Description |
---|---|
boolean |
HMaster.isSplitOrMergeEnabled(Admin.MasterSwitchType switchType)
Queries the state of the
SplitOrMergeTracker . |
Modifier and Type | Method and Description |
---|---|
static MasterProtos.IsSplitOrMergeEnabledRequest |
RequestConverter.buildIsSplitOrMergeEnabledRequest(Admin.MasterSwitchType switchType)
Creates a protocol buffer IsSplitOrMergeEnabledRequest
|
static MasterProtos.SetSplitOrMergeEnabledRequest |
RequestConverter.buildSetSplitOrMergeEnabledRequest(boolean enabled,
boolean synchronous,
Admin.MasterSwitchType... switchTypes)
Creates a protocol buffer SetSplitOrMergeEnabledRequest
|
Modifier and Type | Method and Description |
---|---|
boolean |
SplitOrMergeTracker.isSplitOrMergeEnabled(Admin.MasterSwitchType switchType) |
void |
SplitOrMergeTracker.setSplitOrMergeEnabled(boolean enabled,
Admin.MasterSwitchType switchType) |