Package org.mybatis.dynamic.sql
Interface BindableColumn<T>
-
- Type Parameters:
T- - even though the type is not directly used in this class, it is used by the compiler to match columns with conditions so it should not be removed.
- All Superinterfaces:
BasicColumn
- All Known Implementing Classes:
AbstractFunction,AbstractMultipleColumnArithmeticFunction,Add,Divide,Lower,Multiply,SqlColumn,Substring,Subtract,Upper
public interface BindableColumn<T> extends BasicColumn
Describes additional attributes of columns that are necessary for binding the column as a JDBC parameter. Columns in where clauses are typically bound.- Author:
- Jeff Butler
-
-
Method Summary
Modifier and Type Method Description BindableColumn<T>as(java.lang.String alias)Override the base method definition to make it more specific to this interface.java.util.Optional<java.sql.JDBCType>jdbcType()java.util.Optional<java.lang.String>typeHandler()-
Methods inherited from interface org.mybatis.dynamic.sql.BasicColumn
alias, renderWithTableAlias, renderWithTableAndColumnAlias
-
-
-
-
Method Detail
-
as
BindableColumn<T> as(java.lang.String alias)
Override the base method definition to make it more specific to this interface.- Specified by:
asin interfaceBasicColumn- Parameters:
alias- the column alias to set- Returns:
- new instance with alias set
-
jdbcType
java.util.Optional<java.sql.JDBCType> jdbcType()
-
typeHandler
java.util.Optional<java.lang.String> typeHandler()
-
-