abstract class RocksDB::BaseTransaction
- RocksDB::BaseTransaction
- Reference
- Object
Direct Known Subclasses
Defined in:
rocksdb/transaction.crConstructors
Instance Method Summary
- #commit
- #delete(column_family : ColumnFamilyHandle, key : Bytes) : Nil
- #delete(key : Bytes) : Nil
- #finalize
- #get(key : Bytes, read_options : ReadOptions = @default_read_options) : Bytes | Nil
- #get(column_family : ColumnFamilyHandle, key : Bytes, read_options : ReadOptions = @default_read_options) : Bytes | Nil
- #get_for_update(key : Bytes, read_options : ReadOptions = @default_read_options) : Bytes | Nil
- #get_for_update(column_family : ColumnFamilyHandle, key : Bytes, read_options : ReadOptions = @default_read_options) : Bytes | Nil
- #iterator(read_options : ReadOptions = @default_read_options)
- #iterator(column_family : ColumnFamilyHandle, read_options : ReadOptions = @default_read_options)
- #put(column_family : ColumnFamilyHandle, key : Bytes, value : Bytes) : Nil
- #put(key : Bytes, value : Bytes) : Nil
- #rollback
- #rollback_to_savepoint
- #set_savepoint
- #to_unsafe : Pointer(LibRocksDB::Transaction)
- #write(batch : WriteBatch)
Constructor Detail
def self.new(value : Pointer(LibRocksDB::Transaction), default_read_options : ReadOptions, default_write_options : WriteOptions)
#
Instance Method Detail
def get(key : Bytes, read_options : ReadOptions = @default_read_options) : Bytes | Nil
#
def get(column_family : ColumnFamilyHandle, key : Bytes, read_options : ReadOptions = @default_read_options) : Bytes | Nil
#
def get_for_update(key : Bytes, read_options : ReadOptions = @default_read_options) : Bytes | Nil
#
def get_for_update(column_family : ColumnFamilyHandle, key : Bytes, read_options : ReadOptions = @default_read_options) : Bytes | Nil
#
def iterator(column_family : ColumnFamilyHandle, read_options : ReadOptions = @default_read_options)
#