Class AbstractTableMutationBuilder<M extends TableMutation<?>>
- java.lang.Object
-
- org.hibernate.sql.model.ast.builder.AbstractTableMutationBuilder<M>
-
- All Implemented Interfaces:
TableMutationBuilder<M>
- Direct Known Subclasses:
AbstractRestrictedTableMutationBuilder
,AbstractTableInsertBuilder
public abstract class AbstractTableMutationBuilder<M extends TableMutation<?>> extends Object implements TableMutationBuilder<M>
Base support for TableMutationBuilder implementations
-
-
Field Summary
-
Fields inherited from interface org.hibernate.sql.model.ast.builder.TableMutationBuilder
NULL
-
-
Constructor Summary
Constructors Constructor Description AbstractTableMutationBuilder(MutationType mutationType, MutationTarget<?> mutationTarget, MutatingTableReference mutatingTable, SessionFactoryImplementor sessionFactory)
AbstractTableMutationBuilder(MutationType mutationType, MutationTarget<?> mutationTarget, TableMapping table, SessionFactoryImplementor sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addColumn(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping, List<ColumnValueBinding> list)
protected void
addColumn(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping, ParameterUsage parameterUsage, List<ColumnValueBinding> list)
protected <T> List<T>
combine(List<T> list1, List<T>... additionalLists)
protected ColumnValueBinding
createValueBinding(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping)
protected ColumnValueBinding
createValueBinding(String columnName, String customWriteExpression, JdbcMapping jdbcMapping, ParameterUsage parameterUsage)
protected JdbcServices
getJdbcServices()
MutatingTableReference
getMutatingTable()
Reference (in the SQL AST sense) to the mutating tableprotected MutationTarget<?>
getMutationTarget()
protected ColumnValueParameterList
getParameters()
protected SessionFactoryImplementor
getSessionFactory()
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.model.ast.builder.TableMutationBuilder
buildMutation
-
-
-
-
Constructor Detail
-
AbstractTableMutationBuilder
public AbstractTableMutationBuilder(MutationType mutationType, MutationTarget<?> mutationTarget, TableMapping table, SessionFactoryImplementor sessionFactory)
-
AbstractTableMutationBuilder
public AbstractTableMutationBuilder(MutationType mutationType, MutationTarget<?> mutationTarget, MutatingTableReference mutatingTable, SessionFactoryImplementor sessionFactory)
-
-
Method Detail
-
getMutationTarget
protected MutationTarget<?> getMutationTarget()
-
getMutatingTable
public MutatingTableReference getMutatingTable()
Description copied from interface:TableMutationBuilder
Reference (in the SQL AST sense) to the mutating table- Specified by:
getMutatingTable
in interfaceTableMutationBuilder<M extends TableMutation<?>>
-
getParameters
protected ColumnValueParameterList getParameters()
-
getSessionFactory
protected SessionFactoryImplementor getSessionFactory()
-
getJdbcServices
protected JdbcServices getJdbcServices()
-
addColumn
protected void addColumn(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping, List<ColumnValueBinding> list)
-
addColumn
protected void addColumn(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping, ParameterUsage parameterUsage, List<ColumnValueBinding> list)
-
createValueBinding
protected ColumnValueBinding createValueBinding(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping)
-
createValueBinding
protected ColumnValueBinding createValueBinding(String columnName, String customWriteExpression, JdbcMapping jdbcMapping, ParameterUsage parameterUsage)
-
combine
@SafeVarargs protected final <T> List<T> combine(List<T> list1, List<T>... additionalLists)
-
-