|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.rest.client.RemoteAdmin
@InterfaceAudience.Public @InterfaceStability.Stable public class RemoteAdmin
| Constructor Summary | |
|---|---|
RemoteAdmin(Client client,
org.apache.hadoop.conf.Configuration conf)
Constructor |
|
RemoteAdmin(Client client,
org.apache.hadoop.conf.Configuration conf,
String accessToken)
Constructor |
|
| Method Summary | |
|---|---|
void |
createTable(HTableDescriptor desc)
Creates a new table. |
void |
deleteTable(byte[] tableName)
Deletes a table. |
void |
deleteTable(String tableName)
Deletes a table. |
StorageClusterStatusModel |
getClusterStatus()
|
StorageClusterVersionModel |
getClusterVersion()
|
VersionModel |
getRestVersion()
|
TableListModel |
getTableList()
|
boolean |
isTableAvailable(byte[] tableName)
|
boolean |
isTableAvailable(String tableName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteAdmin(Client client,
org.apache.hadoop.conf.Configuration conf)
client - conf -
public RemoteAdmin(Client client,
org.apache.hadoop.conf.Configuration conf,
String accessToken)
client - conf - accessToken - | Method Detail |
|---|
public boolean isTableAvailable(String tableName)
throws IOException
tableName - name of table to check
IOException - if a remote or network exception occurs
public VersionModel getRestVersion()
throws IOException
IOEXception - if the endpoint does not exist, there is a timeout, or some other
general failure mode
IOException
public StorageClusterStatusModel getClusterStatus()
throws IOException
IOEXception - if the endpoint does not exist, there is a timeout, or some other general failure mode
IOException
public StorageClusterVersionModel getClusterVersion()
throws IOException
IOEXception - if the endpoint does not exist, there is a timeout, or some other
general failure mode
IOException
public boolean isTableAvailable(byte[] tableName)
throws IOException
tableName - name of table to check
IOException - if a remote or network exception occurs
public void createTable(HTableDescriptor desc)
throws IOException
desc - table descriptor for table
IOException - if a remote or network exception occurs
public void deleteTable(String tableName)
throws IOException
tableName - name of table to delete
IOException - if a remote or network exception occurs
public void deleteTable(byte[] tableName)
throws IOException
tableName - name of table to delete
IOException - if a remote or network exception occurs
public TableListModel getTableList()
throws IOException
IOEXception - if the endpoint does not exist, there is a timeout, or some other
general failure mode
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||