Package | Description |
---|---|
org.apache.tinkerpop.gremlin.driver | |
org.apache.tinkerpop.gremlin.driver.remote |
Modifier and Type | Class and Description |
---|---|
static class |
Client.AliasClusteredClient
Uses a
Client.ClusteredClient that rebinds requests to a specified Graph or
TraversalSource instances on the server-side. |
static class |
Client.ClusteredClient
A
Client implementation that does not operate in a session. |
static class |
Client.ReboundClusteredClient
Deprecated.
As of release 3.1.1-incubating, replaced by
Client.AliasClusteredClient . |
static class |
Client.SessionedClient
A
Client implementation that operates in the context of a session. |
Modifier and Type | Method and Description |
---|---|
<T extends Client> |
Cluster.connect()
Creates a
Client.ClusteredClient instance to this Cluster , 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(Client.Settings settings)
Creates a new
Client based on the settings provided. |
<T extends Client> |
Cluster.connect(String sessionId)
Creates a
Client.SessionedClient instance to this Cluster , 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> |
Cluster.connect(String sessionId,
boolean manageTransactions)
Creates a
Client.SessionedClient instance to this Cluster , 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.alias(Map<String,String> aliases)
Creates a
Client that supplies the specified set of aliases, thus allowing the user to re-name
one or more globally defined Graph or TraversalSource server bindings for the context of
the created Client . |
Client |
Client.ClusteredClient.alias(Map<String,String> aliases)
Creates a
Client that supplies the specified set of aliases, thus allowing the user to re-name
one or more globally defined Graph or TraversalSource server bindings for the context of
the created Client . |
Client |
Client.ReboundClusteredClient.alias(Map<String,String> aliases)
Deprecated.
Creates a
Client that supplies the specified set of aliases, thus allowing the user to re-name
one or more globally defined Graph or TraversalSource server bindings for the context of
the created Client . |
Client |
Client.alias(String graphOrTraversalSource)
Create a new
Client that aliases the specified Graph or TraversalSource name on the
server to a variable called "g" for the context of the requests made through that Client . |
Client |
Client.ClusteredClient.alias(String graphOrTraversalSource)
Create a new
Client that aliases the specified Graph or TraversalSource name on the
server to a variable called "g" for the context of the requests made through that Client . |
Client |
Client.init()
Initializes the client which typically means that a connection is established to the server.
|
Client |
Client.ReboundClusteredClient.init()
Deprecated.
|
Client |
Client.rebind(Map<String,String> rebindings)
Deprecated.
|
Client |
Client.ClusteredClient.rebind(Map<String,String> rebindings)
Deprecated.
|
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.
|
Constructor and Description |
---|
AliasClusteredClient(Client client,
Map<String,String> rebindings,
Client.Settings settings) |
Modifier and Type | Method and Description |
---|---|
static DriverRemoteConnection |
DriverRemoteConnection.using(Client client)
Creates a
DriverRemoteConnection using an existing Client object. |
static DriverRemoteConnection |
DriverRemoteConnection.using(Client client,
String remoteTraversalSourceName)
Creates a
DriverRemoteConnection using an existing Client object. |
Constructor and Description |
---|
DriverRemoteTraversal(ResultSet rs,
Client client,
boolean attach,
Optional<Configuration> conf) |
DriverRemoteTraversalSideEffects(Client client,
UUID serverSideEffect,
Host host,
CompletableFuture<Void> ready)
Deprecated.
|
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.