Interface Graph.Features.GraphFeatures
-
- All Superinterfaces:
Graph.Features.FeatureSet
- All Known Implementing Classes:
EmptyGraph.EmptyGraphFeatures.EmptyGraphGraphFeatures,RemoteGraph.RemoteGraphFeatures,TinkerGraph.TinkerGraphGraphFeatures,TinkerTransactionGraph.TinkerGraphGraphFeatures
- Enclosing interface:
- Graph.Features
public static interface Graph.Features.GraphFeatures extends Graph.Features.FeatureSet
Features specific to a operations of a "graph".
-
-
Field Summary
Fields Modifier and Type Field Description static StringFEATURE_COMPUTERstatic StringFEATURE_CONCURRENT_ACCESSstatic StringFEATURE_IO_READstatic StringFEATURE_IO_WRITEstatic StringFEATURE_ORDERABILITY_SEMANTICSstatic StringFEATURE_PERSISTENCEstatic StringFEATURE_SERVICE_CALLstatic StringFEATURE_THREADED_TRANSACTIONSstatic StringFEATURE_TRANSACTIONS
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default booleansupportsComputer()Determines if theGraphimplementation supportsGraphComputerbased processing.default booleansupportsConcurrentAccess()Determines if theGraphimplementation supports more than one connection to the same instance at the same time.default booleansupportsIoRead()Determines if theGraphimplementations supports read operations as executed with theGraphTraversalSource.io(String)step.default booleansupportsIoWrite()Determines if theGraphimplementations supports write operations as executed with theGraphTraversalSource.io(String)step.default booleansupportsOrderabilitySemantics()Determines if theGraphimplementation supports total universal orderability per the Gremlin orderability semantics.default booleansupportsPersistence()Determines if theGraphimplementation supports persisting it's contents natively to disk.default booleansupportsServiceCall()Determines if theGraphimplementation supports the service call feature.default booleansupportsThreadedTransactions()Determines if theGraphimplementation supports threaded transactions which allow a transaction to be executed across multiple threads viaTransaction.createThreadedTx().default booleansupportsTransactions()Determines if theGraphimplementations supports transactions.default Graph.Features.VariableFeaturesvariables()Gets the features related to "graph sideEffects" operation.
-
-
-
Field Detail
-
FEATURE_COMPUTER
static final String FEATURE_COMPUTER
- See Also:
- Constant Field Values
-
FEATURE_TRANSACTIONS
static final String FEATURE_TRANSACTIONS
- See Also:
- Constant Field Values
-
FEATURE_PERSISTENCE
static final String FEATURE_PERSISTENCE
- See Also:
- Constant Field Values
-
FEATURE_THREADED_TRANSACTIONS
static final String FEATURE_THREADED_TRANSACTIONS
- See Also:
- Constant Field Values
-
FEATURE_CONCURRENT_ACCESS
static final String FEATURE_CONCURRENT_ACCESS
- See Also:
- Constant Field Values
-
FEATURE_IO_READ
static final String FEATURE_IO_READ
- See Also:
- Constant Field Values
-
FEATURE_IO_WRITE
static final String FEATURE_IO_WRITE
- See Also:
- Constant Field Values
-
FEATURE_ORDERABILITY_SEMANTICS
static final String FEATURE_ORDERABILITY_SEMANTICS
- See Also:
- Constant Field Values
-
FEATURE_SERVICE_CALL
static final String FEATURE_SERVICE_CALL
- See Also:
- Constant Field Values
-
-
Method Detail
-
supportsComputer
default boolean supportsComputer()
Determines if theGraphimplementation supportsGraphComputerbased processing.
-
supportsPersistence
default boolean supportsPersistence()
Determines 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.
-
supportsConcurrentAccess
default boolean supportsConcurrentAccess()
Determines if theGraphimplementation 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 newGraphinstance coordinates with the Neo4j cluster allowing multiple instances to operate on the same database.
-
supportsTransactions
default boolean supportsTransactions()
Determines if theGraphimplementations supports transactions.
-
supportsThreadedTransactions
default boolean supportsThreadedTransactions()
Determines if theGraphimplementation supports threaded transactions which allow a transaction to be executed across multiple threads viaTransaction.createThreadedTx().
-
supportsIoRead
default boolean supportsIoRead()
Determines if theGraphimplementations supports read operations as executed with theGraphTraversalSource.io(String)step. Graph implementations will generally support this by default as any graph that can support direct mutation through the Structure API will by default accept data from the standard TinkerPopGraphReaderimplementations. However, some graphs likeHadoopGraphdon't accept direct mutations but can still do reads from thatio()step.
-
supportsIoWrite
default boolean supportsIoWrite()
Determines if theGraphimplementations supports write operations as executed with theGraphTraversalSource.io(String)step. Graph implementations will generally support this by default given the standard TinkerPopGraphWriterimplementations. However, some graphs likeHadoopGraphwill use a different approach to handle writes.
-
supportsOrderabilitySemantics
default boolean supportsOrderabilitySemantics()
Determines if theGraphimplementation supports total universal orderability per the Gremlin orderability semantics.
-
supportsServiceCall
default boolean supportsServiceCall()
Determines if theGraphimplementation supports the service call feature.
-
variables
default Graph.Features.VariableFeatures variables()
Gets the features related to "graph sideEffects" operation.
-
-