public class TableCodecV1 extends Object
Constructor and Description |
---|
TableCodecV1() |
Modifier and Type | Method and Description |
---|---|
protected static Object[] |
decodeObjects(byte[] value,
Long handle,
TiTableInfo tableInfo) |
protected static Row |
decodeRow(byte[] value,
Long handle,
TiTableInfo tableInfo) |
protected static byte[] |
encodeRow(List<TiColumnInfo> columnInfos,
Object[] values,
boolean isPkHandle)
Row layout: colID1, value1, colID2, value2, .....
|
protected static byte[] encodeRow(List<TiColumnInfo> columnInfos, Object[] values, boolean isPkHandle)
protected static Object[] decodeObjects(byte[] value, Long handle, TiTableInfo tableInfo)
protected static Row decodeRow(byte[] value, Long handle, TiTableInfo tableInfo)
Copyright © 2024 PingCAP. All rights reserved.