Method: Aerospike::CDT::ListOperation.get_by_rank

Defined in:
lib/aerospike/cdt/list_operation.rb

.get_by_rank(bin_name, rank, return_type: ListReturnType::NONE) ⇒ Object

Create list get by rank operation.

Server selects list item identified by rank.

Server returns selected data specified by return_type.


261
262
263
# File 'lib/aerospike/cdt/list_operation.rb', line 261

def self.get_by_rank(bin_name, rank, return_type: ListReturnType::NONE)
  ListOperation.new(Operation::CDT_READ, GET_BY_RANK, bin_name, rank, return_type: return_type)
end