Class StringLength3Method
java.lang.Object
org.datanucleus.store.rdbms.sql.method.StringLength3Method
- All Implemented Interfaces:
SQLMethod
Expression handler to evaluate {stringExpression}.length().
Returns a NumericExpression
LENGTH({stringExpr}).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetExpression
(SQLStatement stmt, SQLExpression expr, List<SQLExpression> args) Return the expression for this SQL function.
-
Constructor Details
-
StringLength3Method
public StringLength3Method()
-
-
Method Details
-
getExpression
Description copied from interface:SQLMethod
Return the expression for this SQL function.- Specified by:
getExpression
in interfaceSQLMethod
- Parameters:
stmt
- SQLStatement that this expression is forexpr
- The expression that it is invoked onargs
- Arguments passed in- Returns:
- The SQL expression using the SQL function
-