Documentation ¶
Index ¶
- Constants
- Variables
- type KVStore
- func (s *KVStore) Close() error
- func (s *KVStore) DeleteShardsCheckpoint(ctx context.Context, keyPrefix []byte) error
- func (s *KVStore) FetchLastWrittenCheckpoint(ctx context.Context, key []byte) (out []byte, err error)
- func (s *KVStore) FetchSingletEntry(ctx context.Context, keyStart, keyEnd []byte) (key []byte, value []byte, err error)
- func (s *KVStore) FetchTabletRow(ctx context.Context, key []byte) (value []byte, err error)
- func (s *KVStore) FetchTabletRows(ctx context.Context, keys [][]byte, onKeyValue store.OnKeyValue) error
- func (s *KVStore) HasTabletRow(ctx context.Context, keyStart, keyEnd []byte) (exists bool, err error)
- func (s *KVStore) NewBatch(logger *zap.Logger) store.Batch
- func (s *KVStore) ScanIndexKeys(ctx context.Context, prefix []byte, onKey store.OnKey) error
- func (s *KVStore) ScanLastShardsWrittenCheckpoint(ctx context.Context, keyPrefix []byte, onKeyValue store.OnKeyValue) error
- func (s *KVStore) ScanTabletRows(ctx context.Context, keyStart, keyEnd []byte, onKeyValue store.OnKeyValue) error
- type Key
Constants ¶
View Source
const ( TblPrefixRows = 0x00 TblPrefixLastCheckpoint = 0x01 )
Variables ¶
View Source
var TableMapper = map[byte]string{}
View Source
var TblPrefixName = map[byte]string{
TblPrefixRows: "rows",
TblPrefixLastCheckpoint: "checkpoint",
}
Functions ¶
This section is empty.
Types ¶
type KVStore ¶
type KVStore struct {
// contains filtered or unexported fields
}
func (*KVStore) DeleteShardsCheckpoint ¶
func (*KVStore) FetchLastWrittenCheckpoint ¶
func (*KVStore) FetchSingletEntry ¶
func (*KVStore) FetchTabletRow ¶
func (*KVStore) FetchTabletRows ¶
func (*KVStore) HasTabletRow ¶
func (*KVStore) ScanIndexKeys ¶
func (*KVStore) ScanLastShardsWrittenCheckpoint ¶
func (*KVStore) ScanTabletRows ¶
Click to show internal directories.
Click to hide internal directories.