Class BytecodeGeneratorContext

java.lang.Object
io.trino.sql.gen.BytecodeGeneratorContext

public class BytecodeGeneratorContext extends Object
  • Constructor Details

  • Method Details

    • getScope

      public io.airlift.bytecode.Scope getScope()
    • getCallSiteBinder

      public CallSiteBinder getCallSiteBinder()
    • generate

      public io.airlift.bytecode.BytecodeNode generate(RowExpression expression)
    • getScalarFunctionImplementation

      public ScalarFunctionImplementation getScalarFunctionImplementation(ResolvedFunction resolvedFunction, InvocationConvention invocationConvention)
    • generateCall

      public io.airlift.bytecode.BytecodeNode generateCall(ResolvedFunction resolvedFunction, List<io.airlift.bytecode.BytecodeNode> arguments)
      Generates a function call with null handling, automatic binding of session parameter, etc.
    • generateFullCall

      public io.airlift.bytecode.BytecodeNode generateFullCall(ResolvedFunction resolvedFunction, List<RowExpression> arguments)
    • wasNull

      public io.airlift.bytecode.Variable wasNull()