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 booleansupportsComputer()Determines if theGraphimplementation supportsGraphComputerbased processing.booleansupportsPersistence()Determines if theGraphimplementation supports persisting it's contents natively to disk.booleansupportsThreadedTransactions()Determines if theGraphimplementation supports threaded transactions which allow a transaction to be executed across multiple threads viaTransaction.createThreadedTx().booleansupportsTransactions()Determines if theGraphimplementations supports transactions.Graph.Features.VariableFeaturesvariables()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.GraphFeaturesDetermines if theGraphimplementation 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:
supportsPersistencein interfaceGraph.Features.GraphFeatures
-
supportsTransactions
public boolean supportsTransactions()
Description copied from interface:Graph.Features.GraphFeaturesDetermines if theGraphimplementations supports transactions.- Specified by:
supportsTransactionsin interfaceGraph.Features.GraphFeatures
-
supportsThreadedTransactions
public boolean supportsThreadedTransactions()
Description copied from interface:Graph.Features.GraphFeaturesDetermines if theGraphimplementation supports threaded transactions which allow a transaction to be executed across multiple threads viaTransaction.createThreadedTx().- Specified by:
supportsThreadedTransactionsin interfaceGraph.Features.GraphFeatures
-
variables
public Graph.Features.VariableFeatures variables()
Description copied from interface:Graph.Features.GraphFeaturesGets the features related to "graph sideEffects" operation.- Specified by:
variablesin interfaceGraph.Features.GraphFeatures
-
supportsComputer
public boolean supportsComputer()
Description copied from interface:Graph.Features.GraphFeaturesDetermines if theGraphimplementation supportsGraphComputerbased processing.- Specified by:
supportsComputerin interfaceGraph.Features.GraphFeatures
-
-