Method: Aerospike::CDT::MapOperation.get_by_index

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

.get_by_index(bin_name, index, ctx: nil, return_type: MapReturnType::NONE) ⇒ Object

Create map get by index operation.

Server selects map item identified by index.

Server returns selected data specified by return_type.



588
589
590
# File 'lib/aerospike/cdt/map_operation.rb', line 588

def self.get_by_index(bin_name, index, ctx: nil, return_type: MapReturnType::NONE)
  MapOperation.new(Operation::CDT_READ, GET_BY_INDEX, bin_name, index, ctx: ctx, return_type: return_type)
end