Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmptyKey = errors.New("empty key is not supported")
View Source
var ErrNotFound = leveldb.ErrNotFound
Functions ¶
func ToEthKeyValueStore ¶
func ToEthKeyValueStore(store TiKVStore) ethdb.KeyValueStore
Types ¶
type TiKVStoreWrapper ¶
type TiKVStoreWrapper struct {
TiKVStore
}
TiKVStoreWrapper simple wrapper to covert to ethdb.KeyValueStore
func (*TiKVStoreWrapper) NewIterator ¶
func (t *TiKVStoreWrapper) NewIterator() ethdb.Iterator
func (*TiKVStoreWrapper) NewIteratorWithPrefix ¶
func (t *TiKVStoreWrapper) NewIteratorWithPrefix(prefix []byte) ethdb.Iterator
func (*TiKVStoreWrapper) NewIteratorWithStart ¶
func (t *TiKVStoreWrapper) NewIteratorWithStart(start []byte) ethdb.Iterator
Click to show internal directories.
Click to hide internal directories.