public class Add<T extends Number> extends Object implements BindableColumn<T>
Modifier and Type | Method and Description |
---|---|
Optional<String> |
alias()
Returns the columns alias if one has been specified.
|
BindableColumn<T> |
as(String alias)
Override the base method definition to make it more specific to this interface.
|
JDBCType |
jdbcType() |
static <T extends Number> |
of(BindableColumn<T> column1,
BindableColumn<T> column2) |
String |
renderWithTableAlias(TableAliasCalculator tableAliasCalculator)
Returns the name of the item aliased with a table name if appropriate.
|
Optional<String> |
typeHandler() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
renderWithTableAndColumnAlias
public Optional<String> alias()
BasicColumn
alias
in interface BasicColumn
public String renderWithTableAlias(TableAliasCalculator tableAliasCalculator)
BasicColumn
renderWithTableAlias
in interface BasicColumn
tableAliasCalculator
- the table alias calculator for the current rendererpublic BindableColumn<T> as(String alias)
BindableColumn
as
in interface BasicColumn
as
in interface BindableColumn<T extends Number>
alias
- the column alias to setpublic JDBCType jdbcType()
jdbcType
in interface BindableColumn<T extends Number>
public Optional<String> typeHandler()
typeHandler
in interface BindableColumn<T extends Number>
public static <T extends Number> Add<T> of(BindableColumn<T> column1, BindableColumn<T> column2)
Copyright © 2016–2017 MyBatis.org. All rights reserved.