public static interface Graph.Features.GraphFeatures extends Graph.Features.FeatureSet
Modifier and Type | Field and Description |
---|---|
static String |
FEATURE_COMPUTER |
static String |
FEATURE_CONCURRENT_ACCESS |
static String |
FEATURE_PERSISTENCE |
static String |
FEATURE_THREADED_TRANSACTIONS |
static String |
FEATURE_TRANSACTIONS |
Modifier and Type | Method and Description |
---|---|
default boolean |
supportsComputer()
Determines if the
Graph implementation supports GraphComputer based processing. |
default boolean |
supportsConcurrentAccess()
Determines if the
Graph implementation supports more than one connection to the same instance
at the same time. |
default boolean |
supportsPersistence()
Determines if the
Graph implementation supports persisting it's contents natively to disk. |
default boolean |
supportsThreadedTransactions()
Determines if the
Graph implementation supports threaded transactions which allow a transaction
to be executed across multiple threads via Transaction.createThreadedTx() . |
default boolean |
supportsTransactions()
Determines if the
Graph implementations supports transactions. |
default Graph.Features.VariableFeatures |
variables()
Gets the features related to "graph sideEffects" operation.
|
static final String FEATURE_COMPUTER
static final String FEATURE_TRANSACTIONS
static final String FEATURE_PERSISTENCE
static final String FEATURE_THREADED_TRANSACTIONS
static final String FEATURE_CONCURRENT_ACCESS
default boolean supportsComputer()
Graph
implementation supports GraphComputer
based processing.default boolean supportsPersistence()
Graph
implementation supports persisting it's contents natively to disk.
This feature does not refer to every graph's ability to write to disk via the Gremlin IO packages
(.e.g. GraphML), unless the graph natively persists to disk via those options somehow. For example,
TinkerGraph does not support this feature as it is a pure in-sideEffects graph.default boolean supportsConcurrentAccess()
Graph
implementation supports more than one connection to the same instance
at the same time. For example, Neo4j embedded does not support this feature because concurrent
access to the same database files by multiple instances is not possible. However, Neo4j HA could
support this feature as each new Graph
instance coordinates with the Neo4j cluster allowing
multiple instances to operate on the same database.default boolean supportsTransactions()
Graph
implementations supports transactions.default boolean supportsThreadedTransactions()
Graph
implementation supports threaded transactions which allow a transaction
to be executed across multiple threads via Transaction.createThreadedTx()
.default Graph.Features.VariableFeatures variables()
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.