public static class Client.Settings.Builder extends Object
Modifier and Type | Method and Description |
---|---|
Client.Settings |
create() |
Client.Settings.Builder |
unrollTraversers(boolean unrollTraversers)
A request to Gremlin Server may return a
Traverser . |
Client.Settings.Builder |
useSession(boolean enabled)
Enables a session.
|
Client.Settings.Builder |
useSession(Client.SessionSettings settings)
Enables a session.
|
Client.Settings.Builder |
useSession(String sessionId)
Enables a session.
|
public Client.Settings.Builder unrollTraversers(boolean unrollTraversers)
Traverser
. By default a Traverser
is "unrolled"
into an actual result on the client side. So, if the Traverser
contained a Vertex
then
the Vertex
would be extracted out of that Traverser
for purposes of the result. If this
values is instead set to false
then the ResultSet
will simply contain a Traverser
and it will be up to the user to work with that component directly.public Client.Settings.Builder useSession(boolean enabled)
useSession
.public Client.Settings.Builder useSession(String sessionId)
useSession
.public Client.Settings.Builder useSession(Client.SessionSettings settings)
useSession
.public Client.Settings create()
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.