public final class EmptyGraph.EmptyGraphFeatures.EmptyGraphGraphFeatures extends Object implements Graph.Features.GraphFeatures
FEATURE_COMPUTER, FEATURE_CONCURRENT_ACCESS, FEATURE_PERSISTENCE, FEATURE_THREADED_TRANSACTIONS, FEATURE_TRANSACTIONS
Constructor and Description |
---|
EmptyGraphGraphFeatures() |
Modifier and Type | Method and Description |
---|---|
boolean |
supportsComputer()
Determines if the
Graph implementation supports GraphComputer based processing. |
boolean |
supportsPersistence()
Determines if the
Graph implementation supports persisting it's contents natively to disk. |
boolean |
supportsThreadedTransactions()
Determines if the
Graph implementation supports threaded transactions which allow a transaction
to be executed across multiple threads via Transaction.createThreadedTx() . |
boolean |
supportsTransactions()
Determines if the
Graph implementations supports transactions. |
Graph.Features.VariableFeatures |
variables()
Gets the features related to "graph sideEffects" operation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
supportsConcurrentAccess
public boolean supportsPersistence()
Graph.Features.GraphFeatures
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.supportsPersistence
in interface Graph.Features.GraphFeatures
public boolean supportsTransactions()
Graph.Features.GraphFeatures
Graph
implementations supports transactions.supportsTransactions
in interface Graph.Features.GraphFeatures
public boolean supportsThreadedTransactions()
Graph.Features.GraphFeatures
Graph
implementation supports threaded transactions which allow a transaction
to be executed across multiple threads via Transaction.createThreadedTx()
.supportsThreadedTransactions
in interface Graph.Features.GraphFeatures
public Graph.Features.VariableFeatures variables()
Graph.Features.GraphFeatures
variables
in interface Graph.Features.GraphFeatures
public boolean supportsComputer()
Graph.Features.GraphFeatures
Graph
implementation supports GraphComputer
based processing.supportsComputer
in interface Graph.Features.GraphFeatures
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.