CTX Class

Aerospike
Nested CDT context. Identifies the location of nested list/map to apply the operation. for the current level. An array of CTX identifies location of the list/map on multiple levels on nesting.
Inheritance Hierarchy

SystemObject
  Aerospike.ClientCTX

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
public sealed class CTX

The CTX type exposes the following members.

Methods

  NameDescription
Public methodStatic memberListIndex
Lookup list by index offset.

If the index is negative, the resolved index starts backwards from end of list. If an index is out of bounds, a parameter error will be returned. Examples:

  • 0: First item.
  • 4: Fifth item.
  • -1: Last item.
  • -3: Third to last item.

Public methodStatic memberListIndexCreate
Lookup list by base list's index offset. If the list at index offset is not found, create it with the given sort order at that index offset. If pad is true and the index offset is greater than the bounds of the base list, nil entries will be inserted before the newly created list.
Public methodStatic memberListRank
Lookup list by rank.
  • 0 = smallest value
  • N = Nth smallest value
  • -1 = largest value
Public methodStatic memberListValue
Lookup list by value.
Public methodStatic memberMapIndex
Lookup map by index offset.

If the index is negative, the resolved index starts backwards from end of list. If an index is out of bounds, a parameter error will be returned. Examples:

  • 0: First item.
  • 4: Fifth item.
  • -1: Last item.
  • -3: Third to last item.

Public methodStatic memberMapKey
Lookup map by key.
Public methodStatic memberMapKeyCreate
Lookup map by base map's key. If the map at key is not found, create it with the given sort order at that key.
Public methodStatic memberMapRank
Lookup map by rank.
  • 0 = smallest value
  • N = Nth smallest value
  • -1 = largest value
Public methodStatic memberMapValue
Lookup map by value.
Top
See Also

Reference