public class StringSubstringMethod extends Object implements SQLMethod
SUBSTRING(strExpr FROM numExpr1+1)when no end position provided.
SUBSTRING(strExpr FROM numExpr1+1 FOR numExpr2-numExpr1)when end position provided.
| Constructor and Description |
|---|
StringSubstringMethod() |
| Modifier and Type | Method and Description |
|---|---|
SQLExpression |
getExpression(SQLStatement stmt,
SQLExpression expr,
List<SQLExpression> args)
Return the expression for this SQL function.
|
public SQLExpression getExpression(SQLStatement stmt, SQLExpression expr, List<SQLExpression> args)
SQLMethodgetExpression in interface SQLMethodstmt - SQLStatement that this expression is forexpr - The expression that it is invoked onargs - Arguments passed inCopyright © 2020. All rights reserved.