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



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

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

#by_pk_blk(key_array, &block) ⇒ Object



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

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

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



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

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

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



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

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

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



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

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

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



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

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

#ping_blk(&block) ⇒ Object



467
468
469
# File 'lib/tarantool/request.rb', line 467

def ping_blk(&block)
  ping_cb(block)
end

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



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

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

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



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

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

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



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

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