|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.rest.model.NamespacesModel
@InterfaceAudience.Private public class NamespacesModel
A list of HBase namespaces.
| Constructor Summary | |
|---|---|
NamespacesModel()
Default constructor. |
|
NamespacesModel(HBaseAdmin admin)
Constructor |
|
| Method Summary | |
|---|---|
byte[] |
createProtobufOutput()
|
List<String> |
getNamespaces()
|
ProtobufMessageHandler |
getObjectFromMessage(byte[] message)
Initialize the model from a protobuf representation. |
void |
setNamespaces(List<String> namespaces)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NamespacesModel()
public NamespacesModel(HBaseAdmin admin)
throws IOException
admin: - the administrative API
IOException| Method Detail |
|---|
public List<String> getNamespaces()
public void setNamespaces(List<String> namespaces)
namespaces - the namespace name arraypublic String toString()
toString in class Objectpublic byte[] createProtobufOutput()
createProtobufOutput in interface ProtobufMessageHandler
public ProtobufMessageHandler getObjectFromMessage(byte[] message)
throws IOException
ProtobufMessageHandler
getObjectFromMessage in interface ProtobufMessageHandlermessage - the raw bytes of the protobuf message
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||