public class DseRemoteConnection extends Object implements 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> RemoteTraversal<?,E> |
submit(Bytecode bytecode) |
<E> Iterator<Traverser.Admin<E>> |
submit(Traversal<?,E> traversal) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsubmitAsyncpublic 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<Traverser.Admin<E>> submit(Traversal<?,E> traversal) throws RemoteConnectionException
submit in interface RemoteConnectionRemoteConnectionExceptionpublic <E> RemoteTraversal<?,E> submit(Bytecode bytecode) throws RemoteConnectionException
submit in interface RemoteConnectionRemoteConnectionExceptionpublic void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2012–2018. All rights reserved.