public class StringSubstring5Method extends AbstractSQLMethod
SUBSTRING(strExpr FROM CAST(numExpr1+1 AS INTEGER))when no end position provided.
SUBSTRING(strExpr FROM CAST(numExpr1+1 AS INTEGER) FOR CAST(numExpr2-numExpr1 AS INTEGER))when end position provided.
clr, exprFactory, stmt
Constructor and Description |
---|
StringSubstring5Method() |
Modifier and Type | Method and Description |
---|---|
SQLExpression |
getExpression(SQLExpression expr,
List<SQLExpression> args)
Return the expression for this SQL function.
|
getMappingForClass, setStatement
public SQLExpression getExpression(SQLExpression expr, List<SQLExpression> args)
SQLMethod
expr
- The expression that it is invoked onargs
- Arguments passed inCopyright © 2017. All rights reserved.