public class TableCodecV2 extends Object
Constructor and Description |
---|
TableCodecV2() |
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)
New Row Format: Reference
https://github.com/pingcap/tidb/blob/952d1d7541a8e86be0af58f5b7e3d5e982bab34e/docs/design/2018-07-19-row-format.md
|
protected static byte[] encodeRow(List<TiColumnInfo> columnInfos, Object[] values, boolean isPkHandle)
- version, flag, numOfNotNullCols, numOfNullCols, notNullCols, nullCols, notNullOffsets, notNullValues
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.