public interface BasicColumn
Modifier and Type | Method and Description |
---|---|
Optional<String> |
alias()
Returns the columns alias if one has been specified.
|
BasicColumn |
as(String alias)
Returns a new instance of a BasicColumn with the alias set.
|
String |
renderWithTableAlias(TableAliasCalculator tableAliasCalculator)
Returns the name of the item aliased with a table name if appropriate.
|
default String |
renderWithTableAndColumnAlias(TableAliasCalculator tableAliasCalculator)
Returns the name of the item aliased with a table name and column alias if appropriate.
|
Optional<String> alias()
BasicColumn as(String alias)
alias
- the column alias to setString renderWithTableAlias(TableAliasCalculator tableAliasCalculator)
tableAliasCalculator
- the table alias calculator for the current rendererdefault String renderWithTableAndColumnAlias(TableAliasCalculator tableAliasCalculator)
tableAliasCalculator
- the table alias calculator for the current rendererCopyright © 2016–2019 MyBatis.org. All rights reserved.