| Package | Description | 
|---|---|
| org.apache.tinkerpop.gremlin.driver | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | Client.ClusteredClientA  Clientimplementation that does not operate in a session. | 
| static class  | Client.ReboundClusteredClientUses a  Client.ClusteredClientthat rebinds requests to a
 specifiedGraphorTraversalSourceinstances on the server-side. | 
| static class  | Client.SessionedClientA  Clientimplementation that operates in the context of a session. | 
| Modifier and Type | Method and Description | 
|---|---|
| <T extends Client> | Cluster. connect()Creates a  Client.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> | Cluster. connect(String sessionId)Creates a  Client.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. | 
| Modifier and Type | Method and Description | 
|---|---|
| Client | Client.ClusteredClient. alias(Map<String,String> aliases)Creates a  Clientthat 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. | 
| abstract Client | Client. alias(String graphOrTraversalSource)Create a new  Clientthat aliases the specifiedGraphorTraversalSourcename on the
 server to a variable called "g" for the context of the requests made through thatClient. | 
| Client | Client.ClusteredClient. alias(String graphOrTraversalSource)Create a new  Clientthat aliases the specifiedGraphorTraversalSourcename on the
 server to a variable called "g" for the context of the requests made through thatClient. | 
| Client | Client.ReboundClusteredClient. alias(String graphOrTraversalSource)Create a new  Clientthat aliases the specifiedGraphorTraversalSourcename on the
 server to a variable called "g" for the context of the requests made through thatClient. | 
| Client | Client.SessionedClient. alias(String graphOrTraversalSource)The sessioned client does not support this feature. | 
| Client | Client. init()Initializes the client which typically means that a connection is established to the server. | 
| Client | Client.ReboundClusteredClient. init() | 
| Client | Client.ClusteredClient. rebind(Map<String,String> rebindings)Deprecated.  | 
| abstract Client | Client. rebind(String graphOrTraversalSource)Deprecated. 
 As of release 3.1.0, replaced by  alias(String) | 
| Client | Client.ClusteredClient. rebind(String graphOrTraversalSource)Deprecated.  | 
| Client | Client.ReboundClusteredClient. rebind(String graphOrTraversalSource)Deprecated.  | 
| Client | Client.SessionedClient. rebind(String graphOrTraversalSourceName)Deprecated. 
 As of release 3.1.0, replaced by  Client.SessionedClient.alias(String) | 
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.