Uses of Class
org.apache.tinkerpop.gremlin.driver.Client
-
Packages that use Client Package Description org.apache.tinkerpop.gremlin.driver org.apache.tinkerpop.gremlin.driver.remote -
-
Uses of Client in org.apache.tinkerpop.gremlin.driver
Subclasses of Client in org.apache.tinkerpop.gremlin.driver Modifier and Type Class Description static class
Client.AliasClusteredClient
Uses aClient.ClusteredClient
that rebinds requests to a specifiedGraph
orTraversalSource
instances on the server-side.static class
Client.ClusteredClient
AClient
implementation that does not operate in a session.static class
Client.SessionedClient
AClient
implementation that operates in the context of a session.Methods in org.apache.tinkerpop.gremlin.driver with type parameters of type Client Modifier and Type Method Description <T extends Client>
TCluster. connect()
Creates aClient.ClusteredClient
instance to thisCluster
, meaning requests will be routed to one or more servers (depending on the cluster configuration), where each request represents the entirety of a transaction.<T extends Client>
TCluster. connect(String sessionId)
Creates aClient.SessionedClient
instance to thisCluster
, meaning requests will be routed to a single server (randomly selected from the cluster), where the same bindings will be available on each request.<T extends Client>
TCluster. connect(String sessionId, boolean manageTransactions)
Creates aClient.SessionedClient
instance to thisCluster
, meaning requests will be routed to a single server (randomly selected from the cluster), where the same bindings will be available on each request.<T extends Client>
TCluster. connect(Client.Settings settings)
Creates a newClient
based on the settings provided.Methods in org.apache.tinkerpop.gremlin.driver that return Client Modifier and Type Method Description Client
Client. alias(String graphOrTraversalSource)
Create a newClient
that aliases the specifiedGraph
orTraversalSource
name on the server to a variable called "g" for the context of the requests made through thatClient
.Client
Client. alias(Map<String,String> aliases)
Creates aClient
that supplies the specified set of aliases, thus allowing the user to re-name one or more globally definedGraph
orTraversalSource
server bindings for the context of the createdClient
.Client
Client.AliasClusteredClient. alias(Map<String,String> aliases)
Creates aClient
that supplies the specified set of aliases, thus allowing the user to re-name one or more globally definedGraph
orTraversalSource
server bindings for the context of the createdClient
.Client
Client.ClusteredClient. alias(String graphOrTraversalSource)
Create a newClient
that aliases the specifiedGraph
orTraversalSource
name on the server to a variable called "g" for the context of the requests made through thatClient
.Client
Client.ClusteredClient. alias(Map<String,String> aliases)
Creates aClient
that supplies the specified set of aliases, thus allowing the user to re-name one or more globally definedGraph
orTraversalSource
server bindings for the context of the createdClient
.Client
Client.AliasClusteredClient. init()
Client
Client. init()
Initializes the client which typically means that a connection is established to the server. -
Uses of Client in org.apache.tinkerpop.gremlin.driver.remote
Methods in org.apache.tinkerpop.gremlin.driver.remote with parameters of type Client Modifier and Type Method Description static DriverRemoteConnection
DriverRemoteConnection. using(Client client)
Creates aDriverRemoteConnection
using an existingClient
object.static DriverRemoteConnection
DriverRemoteConnection. using(Client client, String remoteTraversalSourceName)
Creates aDriverRemoteConnection
using an existingClient
object.Constructors in org.apache.tinkerpop.gremlin.driver.remote with parameters of type Client Constructor Description DriverRemoteTraversal(ResultSet rs, Client client, boolean attach, Optional<org.apache.commons.configuration2.Configuration> conf)
-