public enum MapDbStoreOptions extends Enum<MapDbStoreOptions> implements PersistentStoreOptions
PersistentStoreOptions that hold MapDB related database access features, such as autocommit, direct write,
usage of raw arrays or Lists.| Enum Constant and Description |
|---|
AUTOCOMMIT
Automatically saves modifications as calls are made.
|
CACHE_MANY
Translates model-level operations to Blueprints calls, and uses an internal cache to store elements that are
part of multi-valued
EReferences to speed-up their access. |
DIRECT_WRITE
Translates model-level operations to MapDB calls (default
DirectWriteStore). |
DIRECT_WRITE_INDICES
Translates model-level operations to MapDB calls, and persists
Collection indices instead of serialized
arrays. |
DIRECT_WRITE_LISTS
Translates model-level operations to MapDB calls, and uses
Lists instead of arrays to persist
multi-valued EAttributes and EReferences. |
| Modifier and Type | Method and Description |
|---|---|
static MapDbStoreOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MapDbStoreOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapDbStoreOptions AUTOCOMMIT
AutocommitStoreDecoratorpublic static final MapDbStoreOptions DIRECT_WRITE
DirectWriteStore).DirectWriteMapDbStorepublic static final MapDbStoreOptions DIRECT_WRITE_LISTS
Lists instead of arrays to persist
multi-valued EAttributes and EReferences.DirectWriteMapDbListsStorepublic static final MapDbStoreOptions DIRECT_WRITE_INDICES
Collection indices instead of serialized
arrays.DirectWriteMapDbIndicesStorepublic static final MapDbStoreOptions CACHE_MANY
EReferences to speed-up their access.DirectWriteMapDbCacheManyStorepublic static MapDbStoreOptions[] values()
for (MapDbStoreOptions c : MapDbStoreOptions.values()) System.out.println(c);
public static MapDbStoreOptions valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2013–2017 Atlanmod INRIA LINA Mines Nantes. All rights reserved.