Package io.trino.sql.gen
Class RowExpressionCompiler
java.lang.Object
io.trino.sql.gen.RowExpressionCompiler
-
Constructor Summary
ConstructorsConstructorDescriptionRowExpressionCompiler(CallSiteBinder callSiteBinder, CachedInstanceBinder cachedInstanceBinder, RowExpressionVisitor<io.airlift.bytecode.BytecodeNode, io.airlift.bytecode.Scope> fieldReferenceCompiler, FunctionManager functionManager, Map<LambdaDefinitionExpression, LambdaBytecodeGenerator.CompiledLambda> compiledLambdaMap) -
Method Summary
Modifier and TypeMethodDescriptionio.airlift.bytecode.BytecodeNodecompile(RowExpression rowExpression, io.airlift.bytecode.Scope scope) io.airlift.bytecode.BytecodeNodecompile(RowExpression rowExpression, io.airlift.bytecode.Scope scope, Optional<Class<?>> lambdaInterface) static VariableReferenceExpressioncreateTempVariableReferenceExpression(io.airlift.bytecode.Variable variable, Type type)
-
Constructor Details
-
RowExpressionCompiler
public RowExpressionCompiler(CallSiteBinder callSiteBinder, CachedInstanceBinder cachedInstanceBinder, RowExpressionVisitor<io.airlift.bytecode.BytecodeNode, io.airlift.bytecode.Scope> fieldReferenceCompiler, FunctionManager functionManager, Map<LambdaDefinitionExpression, LambdaBytecodeGenerator.CompiledLambda> compiledLambdaMap)
-
-
Method Details
-
compile
public io.airlift.bytecode.BytecodeNode compile(RowExpression rowExpression, io.airlift.bytecode.Scope scope) -
compile
public io.airlift.bytecode.BytecodeNode compile(RowExpression rowExpression, io.airlift.bytecode.Scope scope, Optional<Class<?>> lambdaInterface) -
createTempVariableReferenceExpression
public static VariableReferenceExpression createTempVariableReferenceExpression(io.airlift.bytecode.Variable variable, Type type)
-