Method: Aerospike::CDT::MapOperation.get_by_rank

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

.get_by_rank(bin_name, rank, ctx: nil, return_type: MapReturnType::NONE) ⇒ Object

Create map get by rank operation.

Server selects map item identified by rank.

Server returns selected data specified by return_type.



614
615
616
# File 'lib/aerospike/cdt/map_operation.rb', line 614

def self.get_by_rank(bin_name, rank, ctx: nil, return_type: MapReturnType::NONE)
  MapOperation.new(Operation::CDT_READ, GET_BY_RANK, bin_name, rank, ctx: ctx, return_type: return_type)
end