public final class MapPolicy extends Object
Modifier and Type | Field and Description |
---|---|
static MapPolicy |
Default
Default unordered unique key map with normal put semantics.
|
Constructor and Description |
---|
MapPolicy()
Default constructor.
|
MapPolicy(MapOrder order,
int flags)
Create unique key map with specified order when map does not exist.
|
MapPolicy(MapOrder order,
MapWriteMode writeMode)
Create unique key map with specified order when map does not exist.
|
public static final MapPolicy Default
public MapPolicy()
public MapPolicy(MapOrder order, MapWriteMode writeMode)
This constructor should only be used for server versions < 4.3.
MapPolicy(MapOrder,int)
is recommended for server versions >= 4.3.
public MapPolicy(MapOrder order, int flags)
MapWriteFlags
when writing map items.Copyright ? 2012–2018 Aerospike, Inc. All rights reserved.