@InterfaceAudience.Private public class CellSetModel extends Object implements Serializable, ProtobufMessageHandler
<complexType name="CellSet">
<sequence>
<element name="row" type="tns:Row" maxOccurs="unbounded"
minOccurs="1"></element>
</sequence>
</complexType>
<complexType name="Row">
<sequence>
<element name="key" type="base64Binary"></element>
<element name="cell" type="tns:Cell"
maxOccurs="unbounded" minOccurs="1"></element>
</sequence>
</complexType>
<complexType name="Cell">
<sequence>
<element name="value" maxOccurs="1" minOccurs="1">
<simpleType>
<restriction base="base64Binary"/>
</simpleType>
</element>
</sequence>
<attribute name="column" type="base64Binary" />
<attribute name="timestamp" type="int" />
</complexType>
BUFFER_SIZE| Constructor and Description |
|---|
CellSetModel()
Constructor
|
CellSetModel(List<RowModel> rows) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRow(RowModel row)
Add a row to this cell set
|
ProtobufMessageHandler |
getObjectFromMessage(org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream cis) |
List<RowModel> |
getRows()
Returns the rows
|
org.apache.hbase.thirdparty.com.google.protobuf.Message |
messageFromObject()
Convert to model to a protobuf Message object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateProtobufOutput, getObjectFromMessage, getObjectFromMessage, writeProtobufOutputpublic void addRow(RowModel row)
row - the rowpublic 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.