Class ClusterContext
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.driver.ClusterContext
-
- All Implemented Interfaces:
AutoCloseable
public class ClusterContext extends Object implements AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description ClusterContext(GremlinCluster cluster, GremlinClient client, org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource graphTraversalSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GremlinClientclient()voidclose()GremlinClustercluster()org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSourcegraphTraversalSource()
-
-
-
Constructor Detail
-
ClusterContext
public ClusterContext(GremlinCluster cluster, GremlinClient client, org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource graphTraversalSource)
-
-
Method Detail
-
graphTraversalSource
public org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource graphTraversalSource()
-
cluster
public GremlinCluster cluster()
-
client
public GremlinClient client()
-
close
public void close() throws Exception- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
-