@ParametersAreNonnullByDefault public class MapDbConfig extends BaseConfig<MapDbConfig>
Config that creates MapDB specific configuration.
The mapping is the only required option. All the others are optional: configuration can be created using all or none of them.
BASE_PREFIX| Constructor and Description |
|---|
MapDbConfig()
Constructs a new
MapDbConfig with default settings. |
| Modifier and Type | Method and Description |
|---|---|
MapDbConfig |
withArrays()
Defines the mapping to use for the created
MapDbBackend. |
MapDbConfig |
withIndices()
Defines the mapping to use for the created
MapDbBackend. |
MapDbConfig |
withLists()
Defines the mapping to use for the created
MapDbBackend. |
addListener, addOption, addStore, autoSave, autoSave, cacheContainers, cacheFeatures, cacheMetaClasses, cacheSizes, createKey, getMapping, getName, getOptions, getStores, getVariant, isPersistentKey, isReadOnlyKey, log, log, merge, merge, readOnly, recordStats, save, setMapping, setMappingWithCheck, toMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexists, forName, forScheme, loadgetOption, getOptions, hasOption, isReadOnlypublic MapDbConfig()
MapDbConfig with default settings.
NOTE: This configuration has several possible mappings: no mapping is defined by default.
withIndices(),
withLists(),
withArrays()@Nonnull public MapDbConfig withIndices()
MapDbBackend.
This mapping corresponds to a simple representation of multi-valued features, by using the AbstractFeatureBean.position().
NOTE: This is the default mapping.
ManyValueWithIndices@Nonnull public MapDbConfig withArrays()
MapDbBackend.
This mapping corresponds to an Object[] representation of multi-valued features.
ManyValueWithArrays@Nonnull public MapDbConfig withLists()
MapDbBackend.
This mapping corresponds to a List representation of multi-valued features.
ManyValueWithListsCopyright © 2013–2019 Atlanmod. All rights reserved.