@InterfaceAudience.Private public class TableListModel extends Object implements Serializable, ProtobufMessageHandler
BUFFER_SIZE| Constructor and Description |
|---|
TableListModel()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(TableModel table)
Add the table name model to the list
|
TableModel |
get(int index) |
ProtobufMessageHandler |
getObjectFromMessage(org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream cis) |
List<TableModel> |
getTables()
Returns the tables
|
org.apache.hbase.thirdparty.com.google.protobuf.Message |
messageFromObject()
Convert to model to a protobuf Message object
|
void |
setTables(List<TableModel> tables) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateProtobufOutput, getObjectFromMessage, getObjectFromMessage, writeProtobufOutputpublic void add(TableModel table)
table - the table modelpublic TableModel get(int index)
index - the indexpublic List<TableModel> getTables()
public void setTables(List<TableModel> tables)
tables - the tables to setpublic 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.