Versions in this module Expand all Collapse all v0 v0.0.1 Sep 6, 2021 Changes in this version + 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 interface + Hash func(i int) types.Hash + Obj func(i int) interface{} + Size func() int