public class PlainBufferCell extends Object
| Constructor and Description |
|---|
PlainBufferCell() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getCellName() |
long |
getCellTimestamp() |
byte |
getCellType() |
ColumnValue |
getCellValue() |
byte |
getChecksum()
会自动计算当前的checksum并返回,当没有数据变化时,checksum会缓存在对象中,以减少不必要的计算。
|
byte[] |
getNameRawData() |
PrimaryKeyValue |
getPkCellValue() |
boolean |
hasCellName() |
boolean |
hasCellTimestamp() |
boolean |
hasCellType() |
boolean |
hasCellValue() |
boolean |
isPk() |
void |
setCellName(String cellName) |
void |
setCellTimestamp(long cellTimestamp) |
void |
setCellType(byte cellType) |
void |
setCellValue(ColumnValue cellValue) |
void |
setPkCellValue(PrimaryKeyValue pkCellValue) |
String |
toString() |
public String getCellName()
public byte[] getNameRawData()
public void setCellName(String cellName)
public boolean hasCellName()
public ColumnValue getCellValue()
public void setCellValue(ColumnValue cellValue)
public boolean hasCellValue()
public byte getCellType()
public void setCellType(byte cellType)
public boolean hasCellType()
public long getCellTimestamp()
public void setCellTimestamp(long cellTimestamp)
public boolean hasCellTimestamp()
public byte getChecksum()
throws IOException
IOExceptionpublic boolean isPk()
public PrimaryKeyValue getPkCellValue()
public void setPkCellValue(PrimaryKeyValue pkCellValue)
Copyright © 2024. All Rights Reserved.