Modifier and Type | Method and Description |
---|---|
ResultSet |
Client.submit(Bytecode bytecode)
Submit a
Bytecode to the server for remote execution. |
ResultSet |
Client.submit(Bytecode bytecode,
RequestOptions options)
A version of
Client.submit(Bytecode) which provides the ability to set per-request options. |
CompletableFuture<ResultSet> |
Client.submitAsync(Bytecode bytecode)
An asynchronous version of
Client.submit(Traversal) . |
CompletableFuture<ResultSet> |
Client.AliasClusteredClient.submitAsync(Bytecode bytecode) |
CompletableFuture<ResultSet> |
Client.submitAsync(Bytecode bytecode,
RequestOptions options)
A version of
Client.submit(Bytecode) which provides the ability to set per-request options. |
CompletableFuture<ResultSet> |
Client.AliasClusteredClient.submitAsync(Bytecode bytecode,
RequestOptions options) |
Modifier and Type | Method and Description |
---|---|
protected static RequestOptions |
DriverRemoteConnection.getRequestOptions(Bytecode bytecode) |
<E> CompletableFuture<RemoteTraversal<?,E>> |
DriverRemoteTransaction.submitAsync(Bytecode bytecode) |
<E> CompletableFuture<RemoteTraversal<?,E>> |
DriverRemoteConnection.submitAsync(Bytecode bytecode) |
Modifier and Type | Method and Description |
---|---|
Traversal.Admin |
GremlinExecutor.eval(Bytecode bytecode,
Bindings boundVars,
String language,
String traversalSource)
Evaluates bytecode with bindings for a specific language into a
Traversal . |
Modifier and Type | Method and Description |
---|---|
Traversal.Admin |
GremlinGroovyScriptEngine.eval(Bytecode bytecode,
Bindings bindings,
String traversalSource) |
protected Script |
GroovyTranslator.DefaultTypeTranslator.internalTranslate(String start,
Bytecode bytecode) |
Script |
GroovyTranslator.translate(Bytecode bytecode)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Traversal.Admin |
GremlinLangScriptEngine.eval(Bytecode bytecode,
Bindings bindings,
String traversalSource)
Bytecode is evaluated by the
JavaTranslator . |
Traversal.Admin |
GremlinScriptEngine.eval(Bytecode bytecode,
Bindings bindings,
String traversalSource)
|
Traversal.Admin |
MockGremlinScriptEngine.eval(Bytecode bytecode,
Bindings bindings,
String traversalSource) |
default Traversal.Admin |
GremlinScriptEngine.eval(Bytecode bytecode,
String traversalSource)
|
T |
JavaTranslator.translate(Bytecode bytecode) |
Modifier and Type | Method and Description |
---|---|
<E> CompletableFuture<RemoteTraversal<?,E>> |
EmbeddedRemoteConnection.submitAsync(Bytecode bytecode) |
<E> CompletableFuture<RemoteTraversal<?,E>> |
RemoteConnection.submitAsync(Bytecode bytecode)
|
Modifier and Type | Method and Description |
---|---|
Bytecode |
AbstractRemoteTraversal.getBytecode() |
Modifier and Type | Method and Description |
---|---|
Bytecode |
Bytecode.clone() |
Bytecode |
GraphOp.getBytecode()
Gets the
Bytecode that represents this graph operation. |
Bytecode |
Traversal.Admin.getBytecode()
Get the
Bytecode associated with the construction of this traversal. |
Bytecode |
TraversalSource.getBytecode()
Get the
Bytecode associated with the current state of this traversal source. |
Modifier and Type | Method and Description |
---|---|
boolean |
GraphOp.equals(Bytecode bc) |
protected abstract Script |
Translator.ScriptTranslator.AbstractTypeTranslator.produceScript(String traversalSource,
Bytecode o)
Take the
Bytecode and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable. |
T |
Translator.translate(Bytecode bytecode)
Translate
Bytecode into a new representation. |
Modifier and Type | Field and Description |
---|---|
protected Bytecode |
GraphTraversalSource.bytecode |
Modifier and Type | Method and Description |
---|---|
Bytecode |
GraphTraversalSource.getBytecode() |
Modifier and Type | Method and Description |
---|---|
Bytecode |
AbstractLambdaTraversal.getBytecode() |
Modifier and Type | Method and Description |
---|---|
protected Script |
PythonTranslator.DefaultTypeTranslator.produceScript(String traversalSource,
Bytecode o) |
protected Script |
PythonTranslator.NoSugarTranslator.produceScript(String traversalSource,
Bytecode o) |
protected Script |
GroovyTranslator.DefaultTypeTranslator.produceScript(String traversalSource,
Bytecode bytecode) |
protected Script |
JavascriptTranslator.DefaultTypeTranslator.produceScript(String traversalSource,
Bytecode o) |
protected Script |
DotNetTranslator.DefaultTypeTranslator.produceScript(String traversalSource,
Bytecode o) |
Script |
PythonTranslator.translate(Bytecode bytecode) |
Script |
GroovyTranslator.translate(Bytecode bytecode) |
Script |
JavascriptTranslator.translate(Bytecode bytecode) |
Script |
DotNetTranslator.translate(Bytecode bytecode) |
Modifier and Type | Field and Description |
---|---|
protected Bytecode |
DefaultTraversal.bytecode |
Modifier and Type | Method and Description |
---|---|
static Bytecode |
BytecodeHelper.filterInstructions(Bytecode bytecode,
Predicate<Bytecode.Instruction> predicate) |
Bytecode |
DefaultTraversal.getBytecode() |
Bytecode |
EmptyTraversal.getBytecode() |
Modifier and Type | Method and Description |
---|---|
static void |
BytecodeHelper.detachElements(Bytecode bytecode) |
static Bytecode |
BytecodeHelper.filterInstructions(Bytecode bytecode,
Predicate<Bytecode.Instruction> predicate) |
static <A extends TraversalStrategy> |
BytecodeHelper.findStrategies(Bytecode bytecode,
Class<A> clazz)
Parses
Bytecode to find TraversalStrategy objects added in the source instructions. |
static Optional<String> |
BytecodeHelper.getLambdaLanguage(Bytecode bytecode) |
static boolean |
BytecodeHelper.isGraphOperation(Bytecode bytecode)
Checks if the bytecode is one of the standard
GraphOp options. |
static void |
BytecodeHelper.removeBindings(Bytecode bytecode) |
Constructor and Description |
---|
DefaultTraversal(Bytecode bytecode) |
Modifier and Type | Method and Description |
---|---|
Bytecode |
Authorizer.authorize(AuthenticatedUser user,
Bytecode bytecode,
Map<String,String> aliases)
Checks whether a user is authorized to have a gremlin bytecode request from a client answered and raises an
AuthorizationException if this is not the case. |
Modifier and Type | Method and Description |
---|---|
Bytecode |
Authorizer.authorize(AuthenticatedUser user,
Bytecode bytecode,
Map<String,String> aliases)
Checks whether a user is authorized to have a gremlin bytecode request from a client answered and raises an
AuthorizationException if this is not the case. |
Modifier and Type | Method and Description |
---|---|
protected Optional<Iterator<?>> |
AbstractSession.fromBytecode(SessionTask sessionTask,
Bytecode bytecode)
|
protected void |
AbstractSession.handleGraphOperation(SessionTask sessionTask,
Bytecode bytecode,
Graph graph)
|
Modifier and Type | Method and Description |
---|---|
protected void |
SessionOpProcessor.handleGraphOperation(Bytecode bytecode,
Graph graph,
Context context)
If
Bytecode is detected to contain a "graph operation" then it gets processed by this method. |
Modifier and Type | Method and Description |
---|---|
protected Bytecode |
ByteCodeSerializer.readValue(Buffer buffer,
GraphBinaryReader context) |
Modifier and Type | Method and Description |
---|---|
protected void |
ByteCodeSerializer.writeValue(Bytecode value,
Buffer buffer,
GraphBinaryWriter context) |
Modifier and Type | Method and Description |
---|---|
<I extends InputShim> |
GryoSerializersV3d0.BytecodeSerializer.read(KryoShim<I,?> kryo,
I input,
Class<Bytecode> clazz) |
<I extends InputShim> |
GryoSerializersV1d0.BytecodeSerializer.read(KryoShim<I,?> kryo,
I input,
Class<Bytecode> clazz) |
Modifier and Type | Method and Description |
---|---|
<O extends OutputShim> |
GryoSerializersV3d0.BytecodeSerializer.write(KryoShim<?,O> kryo,
O output,
Bytecode bytecode) |
<O extends OutputShim> |
GryoSerializersV1d0.BytecodeSerializer.write(KryoShim<?,O> kryo,
O output,
Bytecode bytecode) |
Modifier and Type | Method and Description |
---|---|
<I extends InputShim> |
GryoSerializersV3d0.BytecodeSerializer.read(KryoShim<I,?> kryo,
I input,
Class<Bytecode> clazz) |
<I extends InputShim> |
GryoSerializersV1d0.BytecodeSerializer.read(KryoShim<I,?> kryo,
I input,
Class<Bytecode> clazz) |
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.