-
- Type Parameters:
T
- - the Java type that corresponds to this column
- All Superinterfaces:
BasicColumn
- All Known Implementing Classes:
AbstractCount
,AbstractTypeConvertingFunction
,AbstractUniTypeFunction
,Add
,Avg
,Concatenate
,Constant
,Count
,CountAll
,CountDistinct
,DerivedColumn
,Divide
,Lower
,Max
,Min
,Multiply
,OperatorFunction
,SqlColumn
,StringConstant
,Substring
,Subtract
,Sum
,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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BindableColumn<T>
as(String alias)
Override the base method definition to make it more specific to this interface.default Object
convertParameterType(T value)
default Optional<Class<T>>
javaType()
default Optional<JDBCType>
jdbcType()
default Optional<RenderingStrategy>
renderingStrategy()
default Optional<String>
typeHandler()
-
Methods inherited from interface org.mybatis.dynamic.sql.BasicColumn
alias, renderWithTableAlias, renderWithTableAndColumnAlias
-
-
-
-
Method Detail
-
as
BindableColumn<T> as(String alias)
Override the base method definition to make it more specific to this interface.- Specified by:
as
in interfaceBasicColumn
- Parameters:
alias
- the column alias to set- Returns:
- new instance with alias set
-
renderingStrategy
default Optional<RenderingStrategy> renderingStrategy()
-
-