Modifier and Type | Field and Description |
---|---|
static int |
TYPE_BEGIN_PERSISTED_PREPARE_XID |
static int |
TYPE_BEGIN_PREPARE_XID |
static int |
TYPE_BEGIN_UNPREPARE_XID |
static int |
TYPE_BLOB_INDEX |
static int |
TYPE_COLUMNFAMILY_BLOB_INDEX |
static int |
TYPE_COLUMNFAMILY_DELETION |
static int |
TYPE_COLUMNFAMILY_MERGE |
static int |
TYPE_COLUMNFAMILY_RANGE_DELETION |
static int |
TYPE_COLUMNFAMILY_SINGLE_DELETION |
static int |
TYPE_COLUMNFAMILY_VALUE |
static int |
TYPE_COMMIT_XID |
static int |
TYPE_DELETION |
static int[] |
TYPE_ELEMENT_COUNT |
static int |
TYPE_END_PREPARE_XID |
static int |
TYPE_LOGDATA |
static int |
TYPE_MERGE |
static int |
TYPE_NOOP |
static int |
TYPE_RANGE_DELETION |
static int |
TYPE_ROLLBACK_XID |
static int |
TYPE_SINGLE_DELETION |
static int |
TYPE_VALUE |
Modifier and Type | Method and Description |
---|---|
ArrayList<Object> |
getChunks() |
int |
getColumnFamilyId() |
long |
getSequence() |
int |
getType() |
static List<RocksMap.RocksWalRecord> |
parse(ByteBuffer byteBuffer,
BiFunction<Integer,Integer,Boolean> filter,
boolean withSerial)
解析某个序号以后的更新操作记录
|
static List<RocksMap.RocksWalRecord> |
parse(ByteBuffer byteBuffer,
boolean withSerial)
解析某个序号以后的更新操作记录
|
static RocksMap.RocksWalRecord |
parseOperation(ByteBuffer byteBuffer,
long sequence,
BiFunction<Integer,Integer,Boolean> filter,
boolean withSerial)
解析某个序号的操作记录
|
static RocksMap.RocksWalRecord |
parseOperation(ByteBuffer byteBuffer,
long sequence,
boolean withSerial)
解析某个序号的操作记录
|
public static int TYPE_DELETION
public static int TYPE_VALUE
public static int TYPE_MERGE
public static int TYPE_LOGDATA
public static int TYPE_COLUMNFAMILY_DELETION
public static int TYPE_COLUMNFAMILY_VALUE
public static int TYPE_COLUMNFAMILY_MERGE
public static int TYPE_SINGLE_DELETION
public static int TYPE_COLUMNFAMILY_SINGLE_DELETION
public static int TYPE_BEGIN_PREPARE_XID
public static int TYPE_END_PREPARE_XID
public static int TYPE_COMMIT_XID
public static int TYPE_ROLLBACK_XID
public static int TYPE_NOOP
public static int TYPE_COLUMNFAMILY_RANGE_DELETION
public static int TYPE_RANGE_DELETION
public static int TYPE_COLUMNFAMILY_BLOB_INDEX
public static int TYPE_BLOB_INDEX
public static int TYPE_BEGIN_PERSISTED_PREPARE_XID
public static int TYPE_BEGIN_UNPREPARE_XID
public static int[] TYPE_ELEMENT_COUNT
public long getSequence()
public int getType()
public int getColumnFamilyId()
public static List<RocksMap.RocksWalRecord> parse(ByteBuffer byteBuffer, boolean withSerial)
byteBuffer
- 字节缓冲器withSerial
- 是否进行反序列化public static List<RocksMap.RocksWalRecord> parse(ByteBuffer byteBuffer, BiFunction<Integer,Integer,Boolean> filter, boolean withSerial)
byteBuffer
- 字节缓冲器filter
- 过滤器,用来过滤可用的操作类型和列族withSerial
- 是否进行反序列化public static RocksMap.RocksWalRecord parseOperation(ByteBuffer byteBuffer, long sequence, boolean withSerial)
byteBuffer
- 字节缓冲器sequence
- 序号withSerial
- 是否进行反序列化public static RocksMap.RocksWalRecord parseOperation(ByteBuffer byteBuffer, long sequence, BiFunction<Integer,Integer,Boolean> filter, boolean withSerial)
byteBuffer
- 字节缓冲器sequence
- 序号filter
- 过滤器,用来过滤可用的操作类型和列族withSerial
- 是否进行反序列化Copyright © 2020 Voovan. All rights reserved.