@InterfaceAudience.Private public class NamespacesModel extends Object implements Serializable, ProtobufMessageHandler
BUFFER_SIZE| Constructor and Description |
|---|
NamespacesModel()
Default constructor.
|
NamespacesModel(Admin admin)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getNamespaces()
Returns all namespaces
|
ProtobufMessageHandler |
getObjectFromMessage(org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream cis) |
org.apache.hbase.thirdparty.com.google.protobuf.Message |
messageFromObject()
Convert to model to a protobuf Message object
|
void |
setNamespaces(List<String> namespaces) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateProtobufOutput, getObjectFromMessage, getObjectFromMessage, writeProtobufOutputpublic NamespacesModel()
public NamespacesModel(Admin admin) throws IOException
admin - the administrative APIIOExceptionpublic void setNamespaces(List<String> namespaces)
namespaces - the namespace name arraypublic org.apache.hbase.thirdparty.com.google.protobuf.Message messageFromObject()
ProtobufMessageHandlermessageFromObject in interface ProtobufMessageHandlerpublic ProtobufMessageHandler getObjectFromMessage(org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream cis) throws IOException
getObjectFromMessage in interface ProtobufMessageHandlerIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.