Class SQLFunctionMethod
- java.lang.Object
-
- org.datanucleus.store.rdbms.sql.method.SQLFunctionMethod
-
- All Implemented Interfaces:
SQLMethod
public class SQLFunctionMethod extends Object implements SQLMethod
Method to allow inclusion of any SQL function invocation. The original expression will be of the formSQL_function("some sql", arg0[, arg1, ...])which is compiled intoInvokeExpression{STATIC.SQL_function(Literal{some sql}, ...)
-
-
Constructor Summary
Constructors Constructor Description SQLFunctionMethod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SQLExpressiongetExpression(SQLStatement stmt, SQLExpression ignore, List args)Return the expression for this SQL function.
-
-
-
Method Detail
-
getExpression
public SQLExpression getExpression(SQLStatement stmt, SQLExpression ignore, List args)
Description copied from interface:SQLMethodReturn the expression for this SQL function.- Specified by:
getExpressionin 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
-
-