| Modifier and Type | Method and Description | 
|---|---|
| ResultSet | Client. submit(Bytecode bytecode)Submit a  Bytecodeto 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) | 
| 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  Bytecodethat represents this graph operation. | 
| Bytecode | Traversal.Admin. getBytecode()Get the  Bytecodeassociated with the construction of this traversal. | 
| Bytecode | TraversalSource. getBytecode()Get the  Bytecodeassociated 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  Bytecodeand writes the syntax directly to the memberTranslator.ScriptTranslator.AbstractTypeTranslator.scriptvariable. | 
| T | Translator. translate(Bytecode bytecode)Translate  Bytecodeinto 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 | GolangTranslator.DefaultTypeTranslator. produceScript(String traversalSource,
             Bytecode o) | 
| 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 | GolangTranslator. 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  Bytecodeto findTraversalStrategyobjects 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  GraphOpoptions. | 
| 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
  AuthorizationExceptionif 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
  AuthorizationExceptionif 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  Bytecodeis 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.