Documentation ¶
Index ¶
- func ExistOrStore(rocksdb *gorocksdb.DB, wb *gorocksdb.WriteBatch, key []byte) (bool, error)
- func RocksDbBatchDelWithWB(wb *gorocksdb.WriteBatch, keyList [][]byte)
- func RocksDbBatchWriteWithWB(wb *gorocksdb.WriteBatch, objList IHashListBatchWrite, ...) error
- func RocksDbIteratorLoad(rocksdb *gorocksdb.DB, keyPrefix []byte, ...) error
- func RocksDbLoadOneByPrefix(rocksdb *gorocksdb.DB, keyPrefix []byte, ...) (interface{}, error)
- func RocksDbNormalLoad(rocksDb *gorocksdb.DB, key []byte, handle func(bytes []byte) error) error
- func RocksDbNormalStore(rocksDb *gorocksdb.DB, key []byte, bytes func() ([]byte, error)) error
- func RocksDbSafeGet(rocksdb *gorocksdb.DB, key []byte) ([]byte, error)
- func RocksDbSafeGetWithReadOpt(rocksdb *gorocksdb.DB, rOpts *gorocksdb.ReadOptions, key []byte) ([]byte, error)
- func SafeHandleReaderKV(key, value *gorocksdb.Slice, ...) (bool, error)
- type IHashListBatchWrite
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExistOrStore ¶
func RocksDbBatchDelWithWB ¶
func RocksDbBatchDelWithWB(wb *gorocksdb.WriteBatch, keyList [][]byte)
func RocksDbBatchWriteWithWB ¶
func RocksDbBatchWriteWithWB(wb *gorocksdb.WriteBatch, objList IHashListBatchWrite, key func(hash types.Hash) []byte) error
func RocksDbIteratorLoad ¶
func RocksDbLoadOneByPrefix ¶
func RocksDbNormalLoad ¶
func RocksDbNormalStore ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.