public class CommonHandle extends Object implements Handle
| 构造器和说明 |
|---|
CommonHandle(byte[] encoded) |
CommonHandle(byte[] encoded,
int[] colEndOffsets) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
compare(Handle h) |
Object[] |
data() |
byte[] |
encoded() |
byte[] |
encodedAsKey() |
byte[] |
encodedCol(int idx) |
boolean |
equals(Object other) |
long |
intValue() |
boolean |
isInt() |
int |
len() |
static CommonHandle |
newCommonHandle(DataType[] dataTypes,
Object[] data) |
static CommonHandle |
newCommonHandle(DataType[] dataTypes,
Object[] data,
long[] prefixLengthes) |
Handle |
next() |
int |
numCols() |
String |
toString() |
public CommonHandle(byte[] encoded)
public CommonHandle(byte[] encoded,
int[] colEndOffsets)
public static CommonHandle newCommonHandle(DataType[] dataTypes, Object[] data)
public static CommonHandle newCommonHandle(DataType[] dataTypes, Object[] data, long[] prefixLengthes)
public byte[] encodedAsKey()
encodedAsKey 在接口中 Handlepublic byte[] encodedCol(int idx)
encodedCol 在接口中 HandleCopyright © 2022 PingCAP. All rights reserved.