public class StringIndexOf5Method extends AbstractSQLMethod
STRPOS(strExpr1, strExpr2, numExpr1+1)-1otherwise returns
CASE WHEN (STRPOS(SUBSTR(STR_FIELD, START_POS)) > 0) THEN (STRPOS(SUBSTR(STR_FIELD, START_POS), STR) -1 + START_POS) ELSE -1
clr, exprFactory, stmt
Constructor and Description |
---|
StringIndexOf5Method() |
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 © 2015. All rights reserved.