Class SQLBooleanMethod
- java.lang.Object
-
- org.datanucleus.store.rdbms.sql.method.SQLBooleanMethod
-
- All Implemented Interfaces:
SQLMethod
public class SQLBooleanMethod extends Object implements SQLMethod
Method to allow inclusion of any SQL code that returns a boolean. The original expression will be of the formSQL_boolean("some sql")
which is compiled intoInvokeExpression{STATIC.SQL_boolean(Literal{some sql})
-
-
Constructor Summary
Constructors Constructor Description SQLBooleanMethod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SQLExpression
getExpression(SQLStatement stmt, SQLExpression ignore, List<SQLExpression> args)
Return the expression for this SQL function.
-
-
-
Method Detail
-
getExpression
public SQLExpression getExpression(SQLStatement stmt, SQLExpression ignore, List<SQLExpression> args)
Description copied from interface:SQLMethod
Return the expression for this SQL function.- Specified by:
getExpression
in interfaceSQLMethod
- Parameters:
stmt
- SQLStatement that this expression is forignore
- The expression that it is invoked onargs
- Arguments passed in- Returns:
- The SQL expression using the SQL function
-
-