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



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

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

#by_pk_blk(key_array, &block) ⇒ Object



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

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

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



469
470
471
# File 'lib/tarantool/request.rb', line 469

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

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



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

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

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



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

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

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



465
466
467
# File 'lib/tarantool/request.rb', line 465

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

#ping_blk(&block) ⇒ Object



473
474
475
# File 'lib/tarantool/request.rb', line 473

def ping_blk(&block)
  ping_cb(block)
end

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



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

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

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



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

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

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



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

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