public class SubString extends Expression
| Modifier and Type | Field and Description |
|---|---|
Expression |
column |
alias, enclosed, joins, ordering, properties, quotes, translator, withNoLock| Constructor and Description |
|---|
SubString(Expression column,
Expression start,
Expression length)
Constructor for a
SubString SQL expression, which returns a substring of the string in the colum
expression. |
| Modifier and Type | Method and Description |
|---|---|
Expression |
getColumn()
Returns the column expression for which to obtain a substring.
|
Expression |
getLength()
Returns the length of the substring, which is the number of characters to extract from the original string.
|
Expression |
getStart()
Returns The start position of the substring in the original string.
|
String |
translate()
Translates the expression.
|
alias, asc, desc, enclose, fullOuterJoin, getAlias, getJoins, getOrdering, innerJoin, isAliased, isEnclosed, isQuote, isQuotes, isWithNoLock, leftOuterJoin, rightOuterJoin, unquote, withNoLockpublic final Expression column
getColumn()public SubString(Expression column, Expression start, Expression length)
SubString SQL expression, which returns a substring of the string in the colum
expression.column - The column for which to obtain a substring.start - The start position. The first position in string is 1.length - The number of characters to extract. Must be a positive number.public Expression getColumn()
public Expression getStart()
public Expression getLength()
public String translate()
Expressiontranslate in class ExpressionCopyright © 2023 Feedzai. All rights reserved.