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 List
s.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
EReference s 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
List s instead of arrays to persist
multi-valued EAttribute s and EReference s. |
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
AutocommitStoreDecorator
public static final MapDbStoreOptions DIRECT_WRITE
DirectWriteStore
).DirectWriteMapDbStore
public static final MapDbStoreOptions DIRECT_WRITE_LISTS
List
s instead of arrays to persist
multi-valued EAttribute
s and EReference
s.DirectWriteMapDbListsStore
public static final MapDbStoreOptions DIRECT_WRITE_INDICES
Collection
indices instead of serialized
arrays.DirectWriteMapDbIndicesStore
public static final MapDbStoreOptions CACHE_MANY
EReference
s to speed-up their access.DirectWriteMapDbCacheManyStore
public 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.