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 classClient.AliasClusteredClientUses aClient.ClusteredClientthat rebinds requests to a specifiedGraphorTraversalSourceinstances on the server-side.static classClient.ClusteredClientAClientimplementation that does not operate in a session.static classClient.SessionedClientAClientimplementation 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.ClusteredClientinstance 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.SessionedClientinstance 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.SessionedClientinstance 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 newClientbased on the settings provided.Methods in org.apache.tinkerpop.gremlin.driver that return Client Modifier and Type Method Description ClientClient. alias(String graphOrTraversalSource)Create a newClientthat aliases the specifiedGraphorTraversalSourcename on the server to a variable called "g" for the context of the requests made through thatClient.ClientClient. alias(Map<String,String> aliases)Creates aClientthat supplies the specified set of aliases, thus allowing the user to re-name one or more globally definedGraphorTraversalSourceserver bindings for the context of the createdClient.ClientClient.AliasClusteredClient. alias(Map<String,String> aliases)Creates aClientthat supplies the specified set of aliases, thus allowing the user to re-name one or more globally definedGraphorTraversalSourceserver bindings for the context of the createdClient.ClientClient.ClusteredClient. alias(String graphOrTraversalSource)Create a newClientthat aliases the specifiedGraphorTraversalSourcename on the server to a variable called "g" for the context of the requests made through thatClient.ClientClient.ClusteredClient. alias(Map<String,String> aliases)Creates aClientthat supplies the specified set of aliases, thus allowing the user to re-name one or more globally definedGraphorTraversalSourceserver bindings for the context of the createdClient.ClientClient.AliasClusteredClient. init()ClientClient. 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 DriverRemoteConnectionDriverRemoteConnection. using(Client client)Creates aDriverRemoteConnectionusing an existingClientobject.static DriverRemoteConnectionDriverRemoteConnection. using(Client client, String remoteTraversalSourceName)Creates aDriverRemoteConnectionusing an existingClientobject.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)
-