public class TableCodec extends Object
Constructor and Description |
---|
TableCodec() |
Modifier and Type | Method and Description |
---|---|
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
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 © 2024 PingCAP. All rights reserved.