MapPolicy Class

Map policy directives when creating a map and writing map items.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.2.0+3ff890475e5241c4ec994b6f9316c3e202db5797
C#
public sealed class MapPolicy
Inheritance
Object    MapPolicy

Constructors

MapPolicy Default constructor. Create unordered unique key map when map does not exist. Use normal update mode when writing map items.
MapPolicy(MapOrder, MapWriteFlags) Create unique key map with specified order when map does not exist.
MapPolicy(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.

MapPolicy(MapOrder, MapWriteFlags, Boolean) Create unique key map with specified order and persist index flag when map does not exist.

Fields

Default Default unordered unique key map with normal put semantics.

See Also