@ParametersAreNonnullByDefault public class BerkeleyDbConfig extends BaseConfig<BerkeleyDbConfig>
Config
that creates BerkeleyDB 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 |
---|
BerkeleyDbConfig()
Constructs a new
BerkeleyDbConfig with default settings. |
Modifier and Type | Method and Description |
---|---|
BerkeleyDbConfig |
withArrays()
Defines the mapping to use for the created
BerkeleyDbBackend . |
BerkeleyDbConfig |
withIndices()
Defines the mapping to use for the created
BerkeleyDbBackend . |
BerkeleyDbConfig |
withLists()
Defines the mapping to use for the created
BerkeleyDbBackend . |
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, toMap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exists, forName, forScheme, load
getOption, getOptions, hasOption, isReadOnly
public BerkeleyDbConfig()
BerkeleyDbConfig
with default settings.
NOTE: This configuration has several possible mappings: no mapping is defined by default.
withIndices()
,
withLists()
,
withArrays()
@Nonnull public BerkeleyDbConfig withIndices()
BerkeleyDbBackend
.
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 BerkeleyDbConfig withArrays()
BerkeleyDbBackend
.
This mapping corresponds to an Object
[] representation of multi-valued features.
ManyValueWithArrays
@Nonnull public BerkeleyDbConfig withLists()
BerkeleyDbBackend
.
This mapping corresponds to a List
representation of multi-valued features.
ManyValueWithLists
Copyright © 2013–2019 Atlanmod. All rights reserved.