public class TableCodec extends Object
| 构造器和说明 |
|---|
TableCodec() |
| 限定符和类型 | 方法和说明 |
|---|---|
static long |
decodeHandle(byte[] value) |
static Object[] |
decodeObjects(byte[] value,
Long handle,
TiTableInfo tableInfo) |
static Row |
decodeRow(byte[] value,
Long handle,
TiTableInfo tableInfo) |
static byte[] |
encodeRow(List<TiColumnInfo> columnInfos,
Object[] values,
boolean isPkHandle,
boolean encodeWithNewRowFormat) |
public static byte[] encodeRow(List<TiColumnInfo> columnInfos, Object[] values, boolean isPkHandle, boolean encodeWithNewRowFormat) throws IllegalAccessException
public static Object[] decodeObjects(byte[] value, Long handle, TiTableInfo tableInfo)
public static Row decodeRow(byte[] value, Long handle, TiTableInfo tableInfo)
public static long decodeHandle(byte[] value)
Copyright © 2023 PingCAP. All rights reserved.