Class Substring
- java.lang.Object
-
- org.mybatis.dynamic.sql.select.function.AbstractFunction<java.lang.String,Substring>
-
- org.mybatis.dynamic.sql.select.function.Substring
-
- All Implemented Interfaces:
BasicColumn,BindableColumn<java.lang.String>
public class Substring extends AbstractFunction<java.lang.String,Substring>
-
-
Field Summary
-
Fields inherited from class org.mybatis.dynamic.sql.select.function.AbstractFunction
alias, column
-
-
Method Summary
Modifier and Type Method Description protected Substringcopy()static Substringof(BindableColumn<java.lang.String> column, int offset, int length)java.lang.StringrenderWithTableAlias(TableAliasCalculator tableAliasCalculator)Returns the name of the item aliased with a table name if appropriate.-
Methods inherited from class org.mybatis.dynamic.sql.select.function.AbstractFunction
alias, as, jdbcType, typeHandler
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.mybatis.dynamic.sql.BasicColumn
renderWithTableAndColumnAlias
-
-
-
-
Method Detail
-
renderWithTableAlias
public java.lang.String renderWithTableAlias(TableAliasCalculator tableAliasCalculator)
Description copied from interface:BasicColumnReturns the name of the item aliased with a table name if appropriate. For example, "a.foo". This is appropriate for where clauses and order by clauses.- Parameters:
tableAliasCalculator- the table alias calculator for the current renderer- Returns:
- the item name with the table alias applied
-
copy
protected Substring copy()
- Specified by:
copyin classAbstractFunction<java.lang.String,Substring>
-
of
public static Substring of(BindableColumn<java.lang.String> column, int offset, int length)
-
-