public class StringConstant extends Object implements BindableColumn<String>
Modifier and Type | Method and Description |
---|---|
Optional<String> |
alias()
Returns the columns alias if one has been specified.
|
StringConstant |
as(String alias)
Override the base method definition to make it more specific to this interface.
|
static StringConstant |
of(String value) |
String |
renderWithTableAlias(TableAliasCalculator tableAliasCalculator)
Returns the name of the item aliased with a table name if appropriate.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convertParameterType, jdbcType, renderingStrategy, typeHandler
columnList, 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 StringConstant as(String alias)
BindableColumn
as
in interface BasicColumn
as
in interface BindableColumn<String>
alias
- the column alias to setpublic static StringConstant of(String value)
Copyright © 2016–2021 MyBatis.org. All rights reserved.