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, wait
submitAsync
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<Traverser.Admin<E>> submit(Traversal<?,E> traversal) throws RemoteConnectionException
submit
in interface RemoteConnection
RemoteConnectionException
public <E> RemoteTraversal<?,E> submit(Bytecode bytecode) throws RemoteConnectionException
submit
in interface RemoteConnection
RemoteConnectionException
public void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 2012–2018. All rights reserved.