Package com.aerospike.client.cdt
Class MapPolicy
java.lang.Object
com.aerospike.client.cdt.MapPolicy
public final class MapPolicy extends Object
Map policy directives when creating a map and writing map items.
-
Field Details
-
Default
Default unordered unique key map with normal put semantics.
-
-
Constructor Details
-
MapPolicy
public MapPolicy()Default constructor. Create unordered unique key map when map does not exist. Use normal update mode when writing map items. -
MapPolicy
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.
MapPolicy(MapOrder,int)
is recommended for server versions >= 4.3. -
MapPolicy
Create unique key map with specified order when map does not exist. Use specified write flagsMapWriteFlags
when writing map items.
-