class Tarantool::BlockDB::Query

Public Instance Methods

_block_cb() click to toggle source
# File lib/tarantool/block_db.rb, line 189
def _block_cb
  @_block_cb ||= method(:_raise_or_return)
end
all(space_no, index_no, keys, opts={}) click to toggle source
# File lib/tarantool/block_db.rb, line 197
def all(space_no, index_no, keys, opts={})
  all_cb(space_no, index_no, keys, _block_cb, opts)
end
call(func_name, values, opts={}) click to toggle source
# File lib/tarantool/block_db.rb, line 229
def call(func_name, values, opts={})
  call_cb(func_name, values, _block_cb, opts)
end
delete(space_no, pk, opts={}) click to toggle source
# File lib/tarantool/block_db.rb, line 221
def delete(space_no, pk, opts={})
  delete_cb(space_no, pk, _block_cb, opts)
end
first(space_no, index_no, key, opts={}) click to toggle source
# File lib/tarantool/block_db.rb, line 201
def first(space_no, index_no, key, opts={})
  first_cb(space_no, index_no, key, _block_cb, opts)
end
insert(space_no, tuple, opts={}) click to toggle source
# File lib/tarantool/block_db.rb, line 205
def insert(space_no, tuple, opts={})
  insert_cb(space_no, tuple, _block_cb, opts)
end
invoke(func_name, values, opts={}) click to toggle source
# File lib/tarantool/block_db.rb, line 225
def invoke(func_name, values, opts={})
  invoke_cb(func_name, values, _block_cb, opts)
end
ping() click to toggle source
# File lib/tarantool/block_db.rb, line 233
def ping
  ping_cb(_block_cb)
end
replace(space_no, tuple, opts={}) click to toggle source
# File lib/tarantool/block_db.rb, line 209
def replace(space_no, tuple, opts={})
  replace_cb(space_no, tuple, _block_cb, opts)
end
select(space_no, index_no, keys, offset, limit, opts={}) click to toggle source
# File lib/tarantool/block_db.rb, line 193
def select(space_no, index_no, keys, offset, limit, opts={})
  select_cb(space_no, index_no, keys, offset, limit, _block_cb, opts)
end
store(space_no, tuple, opts={}) click to toggle source
# File lib/tarantool/block_db.rb, line 213
def store(space_no, tuple, opts={})
  store_cb(space_no, tuple, _block_cb, opts)
end
update(space_no, pk, operation, opts={}) click to toggle source
# File lib/tarantool/block_db.rb, line 217
def update(space_no, pk, operation, opts={})
  update_cb(space_no, pk, operation, _block_cb, opts)
end