- java.lang.Object
-
- org.mybatis.dynamic.sql.SqlColumn.Builder<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringaliasprotected booleanisDescendingprotected Class<T>javaTypeprotected JDBCTypejdbcTypeprotected Stringnameprotected ParameterTypeConverter<T,?>parameterTypeConverterprotected RenderingStrategyrenderingStrategyprotected SqlTabletableprotected BiFunction<TableAliasCalculator,SqlTable,Optional<String>>tableQualifierFunctionprotected StringtypeHandler
-
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>withJavaType(Class<T> javaType)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
-
tableQualifierFunction
protected BiFunction<TableAliasCalculator,SqlTable,Optional<String>> tableQualifierFunction
-
-
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)
-
withJavaType
public SqlColumn.Builder<T> withJavaType(Class<T> javaType)
-
-