Documentation
¶
Index ¶
- Constants
- func NewDB(sourceAddr string, auth string) (*kv.DB, error)
- type RVVS
- func (vvs *RVVS) Close() error
- func (vvs RVVS) Floor(_ context.Context, key string, upperVersion uint64) (types.DBValue, uint64, error)
- func (vvs RVVS) Get(_ context.Context, key string, version uint64) (types.DBValue, error)
- func (vvs RVVS) GetTxnRecord(ctx context.Context, version uint64) (types.DBValue, error)
- func (vvs RVVS) Insert(key string, version uint64, val types.DBValue) error
- func (vvs RVVS) Max(_ context.Context, key string) (types.DBValue, uint64, error)
- func (vvs RVVS) Min(_ context.Context, key string) (types.DBValue, uint64, error)
- func (vvs RVVS) ReadModifyWriteKey(_ context.Context, key string, version uint64, ...) error
- func (vvs RVVS) Remove(_ context.Context, key string, version uint64) error
- func (vvs RVVS) RemoveIf(_ context.Context, key string, version uint64, ...) error
- func (vvs RVVS) RemoveTxnRecord(ctx context.Context, version uint64) error
- func (vvs RVVS) UpdateFlag(_ context.Context, key string, version uint64, newFlag uint8) error
- func (vvs RVVS) Upsert(_ context.Context, key string, version uint64, val types.DBValue) error
- func (vvs RVVS) UpsertTxnRecord(ctx context.Context, version uint64, val types.DBValue) error
Constants ¶
View Source
const DebugLevel = 101
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RVVS ¶
type RVVS struct {
// contains filtered or unexported fields
}
func NewVersionedValues ¶
func (RVVS) GetTxnRecord ¶
func (RVVS) ReadModifyWriteKey ¶
func (RVVS) RemoveTxnRecord ¶
func (RVVS) UpdateFlag ¶
Click to show internal directories.
Click to hide internal directories.