public abstract class AbstractFunction<T,U extends AbstractFunction<T,U>> extends Object implements BindableColumn<T>
| Modifier and Type | Field and Description |
|---|---|
protected String |
alias |
protected BindableColumn<T> |
column |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractFunction(BindableColumn<T> column) |
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
alias()
Returns the columns alias if one has been specified.
|
U |
as(String alias)
Override the base method definition to make it more specific to this interface.
|
protected abstract U |
copy() |
Optional<JDBCType> |
jdbcType() |
Optional<String> |
typeHandler() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcolumnList, renderWithTableAlias, renderWithTableAndColumnAliasprotected BindableColumn<T> column
protected String alias
protected AbstractFunction(BindableColumn<T> column)
public Optional<String> alias()
BasicColumnalias in interface BasicColumnpublic U as(String alias)
BindableColumnas in interface BasicColumnas in interface BindableColumn<T>alias - the column alias to setpublic Optional<JDBCType> jdbcType()
jdbcType in interface BindableColumn<T>public Optional<String> typeHandler()
typeHandler in interface BindableColumn<T>protected abstract U copy()
Copyright © 2016–2019 MyBatis.org. All rights reserved.