MapPolicy Constructor

Overload List

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.

See Also