MapOperation MethodsAerospike
The MapOperation type exposes the following members.
Methods

  NameDescription
Public methodStatic memberClear
Create map clear operation. Server removes all items in map. Server returns null.
Public methodStatic memberDecrement
Create map decrement operation. Server decrements values by decr for all items identified by key and returns final result. Valid only for numbers.

The required map policy dictates the type of map to create when it does not exist. The map policy also specifies the mode used when writing items to the map. See policy and write mode .

Public methodStatic memberGetByIndex
Create map get by index operation. Server selects map item identified by index and returns selected data specified by returnType.
Public methodStatic memberGetByIndexRange(String, Int32, MapReturnType)
Create map get by index range operation. Server selects map items starting at specified index to the end of map and returns selected data specified by returnType.
Public methodStatic memberGetByIndexRange(String, Int32, Int32, MapReturnType)
Create map get by index range operation. Server selects "count" map items starting at specified index and returns selected data specified by returnType.
Public methodStatic memberGetByKey
Create map get by key operation. Server selects map item identified by key and returns selected data specified by returnType.
Public methodStatic memberGetByKeyRange
Create map get by key range operation. Server selects map items identified by key range (keyBegin inclusive, keyEnd exclusive). If keyBegin is null, the range is less than keyEnd. If keyEnd is null, the range is greater than equal to keyBegin.

Server returns selected data specified by returnType.

Public methodStatic memberGetByRank
Create map get by rank operation. Server selects map item identified by rank and returns selected data specified by returnType.
Public methodStatic memberGetByRankRange(String, Int32, MapReturnType)
Create map get by rank range operation. Server selects map items starting at specified rank to the last ranked item and returns selected data specified by returnType.
Public methodStatic memberGetByRankRange(String, Int32, Int32, MapReturnType)
Create map get by rank range operation. Server selects "count" map items starting at specified rank and returns selected data specified by returnType.
Public methodStatic memberGetByValue
Create map get by value operation. Server selects map items identified by value and returns selected data specified by returnType.
Public methodStatic memberGetByValueRange
Create map get by value range operation. Server selects map items identified by value range (valueBegin inclusive, valueEnd exclusive) If valueBegin is null, the range is less than valueEnd. If valueEnd is null, the range is greater than equal to valueBegin.

Server returns selected data specified by returnType.

Public methodStatic memberIncrement
Create map increment operation. Server increments values by incr for all items identified by key and returns final result. Valid only for numbers.

The required map policy dictates the type of map to create when it does not exist. The map policy also specifies the mode used when writing items to the map. See policy and write mode .

Public methodStatic memberPut
Create map put operation. Server writes key/value item to map bin and returns map size.

The required map policy dictates the type of map to create when it does not exist. The map policy also specifies the mode used when writing items to the map. See policy and write mode .

Public methodStatic memberPutItems
Create map put items operation Server writes each map item to map bin and returns map size.

The required map policy dictates the type of map to create when it does not exist. The map policy also specifies the mode used when writing items to the map. See policy and write mode .

Public methodStatic memberRemoveByIndex
Create map remove operation. Server removes map item identified by index and returns removed data specified by returnType.
Public methodStatic memberRemoveByIndexRange(String, Int32, MapReturnType)
Create map remove operation. Server removes map items starting at specified index to the end of map and returns removed data specified by returnType.
Public methodStatic memberRemoveByIndexRange(String, Int32, Int32, MapReturnType)
Create map remove operation. Server removes "count" map items starting at specified index and returns removed data specified by returnType.
Public methodStatic memberRemoveByKey
Create map remove operation. Server removes map item identified by key and returns removed data specified by returnType.
Public methodStatic memberRemoveByKeyList
Create map remove operation. Server removes map items identified by keys and returns removed data specified by returnType.
Public methodStatic memberRemoveByKeyRange
Create map remove operation. Server removes map items identified by key range (keyBegin inclusive, keyEnd exclusive). If keyBegin is null, the range is less than keyEnd. If keyEnd is null, the range is greater than equal to keyBegin.

Server returns removed data specified by returnType.

Public methodStatic memberRemoveByRank
Create map remove operation. Server removes map item identified by rank and returns removed data specified by returnType.
Public methodStatic memberRemoveByRankRange(String, Int32, MapReturnType)
Create map remove operation. Server removes map items starting at specified rank to the last ranked item and returns removed data specified by returnType.
Public methodStatic memberRemoveByRankRange(String, Int32, Int32, MapReturnType)
Create map remove operation. Server removes "count" map items starting at specified rank and returns removed data specified by returnType.
Public methodStatic memberRemoveByValue
Create map remove operation. Server removes map items identified by value and returns removed data specified by returnType.
Public methodStatic memberRemoveByValueList
Create map remove operation. Server removes map items identified by values and returns removed data specified by returnType.
Public methodStatic memberRemoveByValueRange
Create map remove operation. Server removes map items identified by value range (valueBegin inclusive, valueEnd exclusive). If valueBegin is null, the range is less than valueEnd. If valueEnd is null, the range is greater than equal to valueBegin.

Server returns removed data specified by returnType.

Public methodStatic memberSetMapPolicy
Create set map policy operation. Server sets map policy attributes. Server returns null.

The required map policy attributes can be changed after the map is created.

Public methodStatic memberSize
Create map size operation. Server returns size of map.
Back to Top
See Also