Modifier and Type | Class and Description |
---|---|
static class |
Client.Settings.Builder |
Modifier and Type | Method and Description |
---|---|
static Client.Settings.Builder |
build() |
Optional<Client.SessionSettings> |
getSession()
Determines if the
Client is to be constructed with a session. |
boolean |
unrollTraversers()
A request to Gremlin Server may return a
Traverser . |
public static Client.Settings.Builder build()
public 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 Optional<Client.SessionSettings> getSession()
Client
is to be constructed with a session. If the value is present, then a
session is expected.Copyright © 2013–2016 Apache Software Foundation. All rights reserved.