public class DseRemoteConnection extends Object implements org.apache.tinkerpop.gremlin.process.remote.RemoteConnection
Modifier and Type | Class and Description |
---|---|
static class |
DseRemoteConnection.Builder
Builder class for creating a
DseRemoteConnection |
Modifier and Type | Method and Description |
---|---|
static DseRemoteConnection.Builder |
builder(DseSession dseSession)
Get a
DseRemoteConnection.Builder to create a properly initialized DseRemoteConnection . |
void |
close() |
<E> CompletableFuture<org.apache.tinkerpop.gremlin.process.remote.traversal.RemoteTraversal<?,E>> |
submitAsync(org.apache.tinkerpop.gremlin.process.traversal.Bytecode bytecode) |
public static DseRemoteConnection.Builder builder(DseSession dseSession)
DseRemoteConnection.Builder
to create a properly initialized DseRemoteConnection
.
This method must take a properly initialized DseSession
that it will reuse
internally.
dseSession
- the session to use to communicate with the DataStax Enterprise Graph Server.DseRemoteConnection
.public <E> CompletableFuture<org.apache.tinkerpop.gremlin.process.remote.traversal.RemoteTraversal<?,E>> submitAsync(org.apache.tinkerpop.gremlin.process.traversal.Bytecode bytecode) throws org.apache.tinkerpop.gremlin.process.remote.RemoteConnectionException
submitAsync
in interface org.apache.tinkerpop.gremlin.process.remote.RemoteConnection
org.apache.tinkerpop.gremlin.process.remote.RemoteConnectionException
public void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 2012–2019. All rights reserved.