Documentation ¶
Index ¶
- func DecodeHandleFromRowKey(rk string) (int64, error)
- func DelKeyWithPrefix(ctx context.Context, prefix string) error
- func EncodeRecordKey(tablePrefix string, h int64, columnID int64) []byte
- func RowKeyPrefixFilter(rowKeyPrefix []byte) kv.FnKeyCmp
- func ScanMetaWithPrefix(txn kv.Transaction, prefix string, filter func([]byte, []byte) bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeHandleFromRowKey ¶
DecodeHandleFromRowKey decodes the string form a row key and returns an int64.
func DelKeyWithPrefix ¶
DelKeyWithPrefix deletes keys with prefix.
func EncodeRecordKey ¶
EncodeRecordKey encodes the string value to a byte slice.
func RowKeyPrefixFilter ¶
RowKeyPrefixFilter returns a function which checks whether currentKey has decoded rowKeyPrefix as prefix.
func ScanMetaWithPrefix ¶
ScanMetaWithPrefix scans metadata with the prefix.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.