Class ExecuteImmediateExpression
java.lang.Object
dev.frostlake.executor.expressions.ExecuteImmediateExpression
- All Implemented Interfaces:
Expression
EXECUTE IMMEDIATE <sql-expr> [USING (v1, v2, …)] used as an expression: the SQL string (itself an
expression — a literal, bind variable, concatenation, …) is evaluated, any USING values are bound to its
? placeholders, the dynamic statement is executed, and its first column of the first row is
returned (scalar), like a scalar subquery.-
Constructor Summary
ConstructorsConstructorDescriptionExecuteImmediateExpression(Expression sqlExpression, List<Expression> usingBindings) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(ExpressionVisitor<T> visitor) Accept a visitor for the visitor patternThe USING bind expressions (bound positionally to?placeholders), or null/empty if none.toString()
-
Constructor Details
-
ExecuteImmediateExpression
-
-
Method Details
-
getSqlExpression
-
getUsingBindings
The USING bind expressions (bound positionally to?placeholders), or null/empty if none. -
accept
Description copied from interface:ExpressionAccept a visitor for the visitor pattern- Specified by:
acceptin interfaceExpression
-
toString
-