MapPolicy Class

Aerospike
Map policy directives when creating a map and writing map items.
Inheritance Hierarchy

SystemObject
  Aerospike.ClientMapPolicy

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

C#
public sealed class MapPolicy

The MapPolicy type exposes the following members.

Constructors

  NameDescription
Public methodMapPolicy
Default constructor. Create unordered unique key map when map does not exist. Use normal update mode when writing map items.
Public methodMapPolicy(MapOrder, MapWriteFlags)
Create unique key map with specified order when map does not exist. Use specified write flags when writing map items.
Public methodMapPolicy(MapOrder, MapWriteMode)
Create unique key map with specified order when map does not exist. Use specified write mode when writing map items.

This constructor should only be used for server versions < 4.3. is recommended for server versions >= 4.3.

Top
Fields

  NameDescription
Public fieldStatic memberDefault
Default unordered unique key map with normal put semantics.
Top
See Also

Reference