abstract class RocksDB::BaseTransaction

Direct Known Subclasses

Defined in:

rocksdb/transaction.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(value : Pointer(LibRocksDB::Transaction), default_read_options : ReadOptions, default_write_options : WriteOptions) #

[View source]

Instance Method Detail

def commit #

[View source]
def delete(column_family : ColumnFamilyHandle, key : Bytes) : Nil #

[View source]
def delete(key : Bytes) : Nil #

[View source]
abstract def finalize #

[View source]
def get(key : Bytes, read_options : ReadOptions = @default_read_options) : Bytes | Nil #

[View source]
def get(column_family : ColumnFamilyHandle, key : Bytes, read_options : ReadOptions = @default_read_options) : Bytes | Nil #

[View source]
def get_for_update(key : Bytes, read_options : ReadOptions = @default_read_options) : Bytes | Nil #

[View source]
def get_for_update(column_family : ColumnFamilyHandle, key : Bytes, read_options : ReadOptions = @default_read_options) : Bytes | Nil #

[View source]
def iterator(read_options : ReadOptions = @default_read_options) #

[View source]
def iterator(column_family : ColumnFamilyHandle, read_options : ReadOptions = @default_read_options) #

[View source]
def put(column_family : ColumnFamilyHandle, key : Bytes, value : Bytes) : Nil #

[View source]
def put(key : Bytes, value : Bytes) : Nil #

[View source]
def rollback #

[View source]
def rollback_to_savepoint #

[View source]
def set_savepoint #

[View source]
def to_unsafe : Pointer(LibRocksDB::Transaction) #

[View source]
def write(batch : WriteBatch) #

[View source]