Module: Tarantool::CommonSpaceBlockMethods

Included in:
SpaceArray, SpaceHash
Defined in:
lib/tarantool/request.rb

Instance Method Summary collapse

Instance Method Details

#all_by_pks_blk(keys, opts = {}, &block) ⇒ Object



426
427
428
# File 'lib/tarantool/request.rb', line 426

def all_by_pks_blk(keys, opts={}, &block)
  all_by_pks_cb(keys, block, opts)
end

#by_pk_blk(key_array, &block) ⇒ Object



430
431
432
# File 'lib/tarantool/request.rb', line 430

def by_pk_blk(key_array, &block)
  by_pk_cb(key_array, block)
end

#call_blk(func_name, values = [], opts = {}, &block) ⇒ Object



458
459
460
# File 'lib/tarantool/request.rb', line 458

def call_blk(func_name, values = [], opts={}, &block)
  call_cb(func_name, values, block, opts)
end

#delete_blk(pk, opts = {}, &block) ⇒ Object



450
451
452
# File 'lib/tarantool/request.rb', line 450

def delete_blk(pk, opts={}, &block)
  delete_cb(pk, block, opts)
end

#insert_blk(tuple, opts = {}, &block) ⇒ Object



434
435
436
# File 'lib/tarantool/request.rb', line 434

def insert_blk(tuple, opts={}, &block)
  insert_cb(tuple, block, opts)
end

#invoke_blk(func_name, values = [], opts = {}, &block) ⇒ Object



454
455
456
# File 'lib/tarantool/request.rb', line 454

def invoke_blk(func_name, values = [], opts={}, &block)
  invoke_cb(func_name, values, block, opts)
end

#ping_blk(&block) ⇒ Object



462
463
464
# File 'lib/tarantool/request.rb', line 462

def ping_blk(&block)
  ping_cb(block)
end

#replace_blk(tuple, opts = {}, &block) ⇒ Object



438
439
440
# File 'lib/tarantool/request.rb', line 438

def replace_blk(tuple, opts={}, &block)
  replace_cb(tuple, block, opts)
end

#store_blk(tuple, opts = {}, &block) ⇒ Object



442
443
444
# File 'lib/tarantool/request.rb', line 442

def store_blk(tuple, opts={}, &block)
  store_cb(tuple, block, opts)
end

#update_blk(pk, operations, opts = {}, &block) ⇒ Object



446
447
448
# File 'lib/tarantool/request.rb', line 446

def update_blk(pk, operations, opts={}, &block)
  update_cb(pk, operations, block, opts)
end