- java.lang.Object
-
- org.mybatis.dynamic.sql.SqlColumn.Builder<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected String
alias
protected boolean
isDescending
protected JDBCType
jdbcType
protected String
name
protected ParameterTypeConverter<T,?>
parameterTypeConverter
protected RenderingStrategy
renderingStrategy
protected SqlTable
table
protected String
typeHandler
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlColumn<T>
build()
SqlColumn.Builder<T>
withAlias(String alias)
SqlColumn.Builder<T>
withDescending(boolean isDescending)
SqlColumn.Builder<T>
withJdbcType(JDBCType jdbcType)
SqlColumn.Builder<T>
withName(String name)
SqlColumn.Builder<T>
withParameterTypeConverter(ParameterTypeConverter<T,?> parameterTypeConverter)
SqlColumn.Builder<T>
withRenderingStrategy(RenderingStrategy renderingStrategy)
SqlColumn.Builder<T>
withTable(SqlTable table)
SqlColumn.Builder<T>
withTypeHandler(String typeHandler)
-
-
-
Field Detail
-
name
protected String name
-
table
protected SqlTable table
-
jdbcType
protected JDBCType jdbcType
-
isDescending
protected boolean isDescending
-
alias
protected String alias
-
typeHandler
protected String typeHandler
-
renderingStrategy
protected RenderingStrategy renderingStrategy
-
parameterTypeConverter
protected ParameterTypeConverter<T,?> parameterTypeConverter
-
-
Method Detail
-
withName
public SqlColumn.Builder<T> withName(String name)
-
withTable
public SqlColumn.Builder<T> withTable(SqlTable table)
-
withJdbcType
public SqlColumn.Builder<T> withJdbcType(JDBCType jdbcType)
-
withDescending
public SqlColumn.Builder<T> withDescending(boolean isDescending)
-
withAlias
public SqlColumn.Builder<T> withAlias(String alias)
-
withTypeHandler
public SqlColumn.Builder<T> withTypeHandler(String typeHandler)
-
withRenderingStrategy
public SqlColumn.Builder<T> withRenderingStrategy(RenderingStrategy renderingStrategy)
-
withParameterTypeConverter
public SqlColumn.Builder<T> withParameterTypeConverter(ParameterTypeConverter<T,?> parameterTypeConverter)
-
-