public interface RemoteConnection extends AutoCloseable
Traversal
and
returning results. Results refer to both the Iterator
of results from the submitted Traversal
as well as the side-effects produced by that Traversal
. Those results together are wrapped in a
Traversal
.Modifier and Type | Method and Description |
---|---|
<E> RemoteTraversal<?,E> |
submit(Bytecode bytecode)
|
<E> Iterator<Traverser.Admin<E>> |
submit(Traversal<?,E> traversal)
Deprecated.
As of release 3.2.2, replaced by
submit(Bytecode) . |
close
@Deprecated <E> Iterator<Traverser.Admin<E>> submit(Traversal<?,E> traversal) throws RemoteConnectionException
submit(Bytecode)
.RemoteConnectionException
<E> RemoteTraversal<?,E> submit(Bytecode bytecode) throws RemoteConnectionException
Traversal
Bytecode
to a server and returns a Traversal
.
The Traversal
is an abstraction over two types of results that can be returned as part of the
response from the server: the results of the Traversal
itself and the the side-effects that it produced.RemoteConnectionException
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.