public interface DseGraphRemoteConnectionBuilder
RemoteConnection
that will be used to build
implicitly-executing fluent traversals.
To create an instance of this, use the DseGraph.remoteConnectionBuilder(CqlSession)
method:
DseSession dseSession = DseSession.builder().build();
GraphTraversalSource g = AnonymousTraversalSource.traversal().withRemote(DseGraph.remoteConnectionBuilder(dseSession).build());
List<Vertex> vertices = g.V().hasLabel("person").toList();
CqlSession
Modifier and Type | Method and Description |
---|---|
org.apache.tinkerpop.gremlin.process.remote.RemoteConnection |
build()
Build the remote connection that was configured with this builder.
|
DseGraphRemoteConnectionBuilder |
withExecutionProfile(DriverExecutionProfile executionProfile)
Set a configuration profile that will be used for every traversal built using the remote
connection.
|
DseGraphRemoteConnectionBuilder |
withExecutionProfileName(String executionProfileName)
Set the name of an execution profile that will be used for every traversal using from the
remote connection.
|
org.apache.tinkerpop.gremlin.process.remote.RemoteConnection build()
DseGraphRemoteConnectionBuilder withExecutionProfile(DriverExecutionProfile executionProfile)
For the list of options available for Graph requests, see the reference.conf
configuration file.
DseGraphRemoteConnectionBuilder withExecutionProfileName(String executionProfileName)
For the list of options available for Graph requests, see the reference.conf
configuration file.
Copyright © 2017–2024. All rights reserved.