@ParametersAreNonnullByDefault public class BlueprintsTinkerConfig extends BaseBlueprintsConfig<BlueprintsTinkerConfig>
Config
that creates Blueprints TinkerGraph specific configuration.
All features are all optional: configuration can be created using all or none of them.
BLUEPRINTS_PREFIX
BASE_PREFIX
Constructor and Description |
---|
BlueprintsTinkerConfig()
Constructs a new
BlueprintsTinkerConfig with default settings. |
Modifier and Type | Method and Description |
---|---|
protected Predicate<String> |
isReadOnlyKey()
Returns a
Predicate used to filter read-only keys. |
protected void |
setFileType(com.tinkerpop.blueprints.impls.tg.TinkerGraph.FileType fileType)
Defines the given
TinkerGraph fileType in this configuration. |
void |
setLocation(Path directory)
Defines the location of the Blueprints database.
|
isPersistentKey, setGraph, withDefault
addListener, addOption, addStore, autoSave, autoSave, cacheContainers, cacheFeatures, cacheMetaClasses, cacheSizes, createKey, getMapping, getName, getOptions, getStores, getVariant, 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 BlueprintsTinkerConfig()
BlueprintsTinkerConfig
with default settings.public void setLocation(Path directory)
BaseBlueprintsConfig
NOTE: This option is intended to be used internally by the BlueprintsBackendFactory
.
setLocation
in class BaseBlueprintsConfig<BlueprintsTinkerConfig>
directory
- the location of the database@Nonnull protected Predicate<String> isReadOnlyKey()
BaseConfig
Predicate
used to filter read-only keys. These keys can not be modified after their first
declaration.isReadOnlyKey
in class BaseBlueprintsConfig<BlueprintsTinkerConfig>
BaseConfig.addOption(String, Object)
protected void setFileType(com.tinkerpop.blueprints.impls.tg.TinkerGraph.FileType fileType)
TinkerGraph
fileType
in this configuration.fileType
- the graph typeCopyright © 2013–2019 Atlanmod. All rights reserved.