class Storage::KeyValueStore::WriteBatch

Defined in:

storage/kv.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

!=(other : RethinkDB::DSL::R) !=, %(other : RethinkDB::DSL::R) %, &(other : RethinkDB::DSL::R) &, *(other : RethinkDB::DSL::R) *, +(other : RethinkDB::DSL::R) +, -(other : RethinkDB::DSL::R) -, /(other : RethinkDB::DSL::R) /, <(other : RethinkDB::DSL::R) <, <=(other : RethinkDB::DSL::R) <=, ==(other : RethinkDB::DSL::R) ==, >(other : RethinkDB::DSL::R) >, >=(other : RethinkDB::DSL::R) >=, |(other : RethinkDB::DSL::R) |

Constructor Detail

def self.new(kv : KeyValueStore) #

[View source]

Instance Method Detail

def delete_index_entry(table_id : UUID, index_id : UUID, index_value : Bytes, counter : Int32, primary_key : Bytes) #

[View source]
def delete_row(table_id : UUID, primary_key : Bytes) : Bytes | Nil #

[View source]
def raw_batch : RocksDB::WriteBatch #

[View source]
def set_index_entry(table_id : UUID, index_id : UUID, index_value : Bytes, counter : Int32, primary_key : Bytes) #

[View source]
def set_row(table_id : UUID, primary_key : Bytes, data : Bytes) #

[View source]