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> org.apache.tinkerpop.gremlin.process.remote.traversal.RemoteTraversal<?,E> |
submit(org.apache.tinkerpop.gremlin.process.traversal.Bytecode bytecode) |
<E> Iterator<org.apache.tinkerpop.gremlin.process.traversal.Traverser.Admin<E>> |
submit(org.apache.tinkerpop.gremlin.process.traversal.Traversal<?,E> traversal) |
<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> Iterator<org.apache.tinkerpop.gremlin.process.traversal.Traverser.Admin<E>> submit(org.apache.tinkerpop.gremlin.process.traversal.Traversal<?,E> traversal) throws org.apache.tinkerpop.gremlin.process.remote.RemoteConnectionException
submit
in interface org.apache.tinkerpop.gremlin.process.remote.RemoteConnection
org.apache.tinkerpop.gremlin.process.remote.RemoteConnectionException
public <E> org.apache.tinkerpop.gremlin.process.remote.traversal.RemoteTraversal<?,E> submit(org.apache.tinkerpop.gremlin.process.traversal.Bytecode bytecode) throws org.apache.tinkerpop.gremlin.process.remote.RemoteConnectionException
submit
in interface org.apache.tinkerpop.gremlin.process.remote.RemoteConnection
org.apache.tinkerpop.gremlin.process.remote.RemoteConnectionException
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–2017. All rights reserved.