@Immutable public class DseGraphRemoteConnection extends Object implements RemoteConnection
Constructor and Description |
---|
DseGraphRemoteConnection(DseSession dseSession,
DriverExecutionProfile executionProfile,
String executionProfileName) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
<E> RemoteTraversal<?,E> |
submit(Bytecode bytecode) |
<E> Iterator<Traverser.Admin<E>> |
submit(Traversal<?,E> traversal) |
<E> CompletableFuture<RemoteTraversal<?,E>> |
submitAsync(Bytecode bytecode) |
public DseGraphRemoteConnection(DseSession dseSession, DriverExecutionProfile executionProfile, String executionProfileName)
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 <E> CompletableFuture<RemoteTraversal<?,E>> submitAsync(Bytecode bytecode) throws RemoteConnectionException
submitAsync
in interface RemoteConnection
RemoteConnectionException
public void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 2017–2019. All rights reserved.