Class EmptyGraph.EmptyGraphFeatures.EmptyGraphGraphFeatures
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.structure.util.empty.EmptyGraph.EmptyGraphFeatures.EmptyGraphGraphFeatures
-
- All Implemented Interfaces:
Graph.Features.FeatureSet
,Graph.Features.GraphFeatures
- Enclosing class:
- EmptyGraph.EmptyGraphFeatures
public final class EmptyGraph.EmptyGraphFeatures.EmptyGraphGraphFeatures extends Object implements Graph.Features.GraphFeatures
Graph features defined such that they support immutability but allow all other possibilities.
-
-
Field Summary
-
Fields inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Features.GraphFeatures
FEATURE_COMPUTER, FEATURE_CONCURRENT_ACCESS, FEATURE_IO_READ, FEATURE_IO_WRITE, FEATURE_ORDERABILITY_SEMANTICS, FEATURE_PERSISTENCE, FEATURE_SERVICE_CALL, FEATURE_THREADED_TRANSACTIONS, FEATURE_TRANSACTIONS
-
-
Constructor Summary
Constructors Constructor Description EmptyGraphGraphFeatures()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
supportsComputer()
Determines if theGraph
implementation supportsGraphComputer
based processing.boolean
supportsPersistence()
Determines if theGraph
implementation supports persisting it's contents natively to disk.boolean
supportsThreadedTransactions()
Determines if theGraph
implementation supports threaded transactions which allow a transaction to be executed across multiple threads viaTransaction.createThreadedTx()
.boolean
supportsTransactions()
Determines if theGraph
implementations supports transactions.Graph.Features.VariableFeatures
variables()
Gets the features related to "graph sideEffects" operation.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Features.GraphFeatures
supportsConcurrentAccess, supportsIoRead, supportsIoWrite, supportsOrderabilitySemantics, supportsServiceCall
-
-
-
-
Method Detail
-
supportsPersistence
public boolean supportsPersistence()
Description copied from interface:Graph.Features.GraphFeatures
Determines if theGraph
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.- Specified by:
supportsPersistence
in interfaceGraph.Features.GraphFeatures
-
supportsTransactions
public boolean supportsTransactions()
Description copied from interface:Graph.Features.GraphFeatures
Determines if theGraph
implementations supports transactions.- Specified by:
supportsTransactions
in interfaceGraph.Features.GraphFeatures
-
supportsThreadedTransactions
public boolean supportsThreadedTransactions()
Description copied from interface:Graph.Features.GraphFeatures
Determines if theGraph
implementation supports threaded transactions which allow a transaction to be executed across multiple threads viaTransaction.createThreadedTx()
.- Specified by:
supportsThreadedTransactions
in interfaceGraph.Features.GraphFeatures
-
variables
public Graph.Features.VariableFeatures variables()
Description copied from interface:Graph.Features.GraphFeatures
Gets the features related to "graph sideEffects" operation.- Specified by:
variables
in interfaceGraph.Features.GraphFeatures
-
supportsComputer
public boolean supportsComputer()
Description copied from interface:Graph.Features.GraphFeatures
Determines if theGraph
implementation supportsGraphComputer
based processing.- Specified by:
supportsComputer
in interfaceGraph.Features.GraphFeatures
-
-