Class: Aerospike::SingleCommand

Inherits:
Command
  • Object
show all
Defined in:
lib/aerospike/command/single_command.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods inherited from Command

#execute, #set_delete, #set_exists, #set_operate, #set_query, #set_read, #set_read_for_key_only, #set_read_header, #set_scan, #set_touch, #set_udf, #set_write, #write_bins

Constructor Details

#initialize(cluster, key) ⇒ SingleCommand

Returns a new instance of SingleCommand.



26
27
28
29
30
31
32
33
# File 'lib/aerospike/command/single_command.rb', line 26

def initialize(cluster, key)
  @cluster = cluster
  @key = key

  @partition = Partition.new_by_key(key)

  super()
end