Class ColumnValueParameter
java.lang.Object
org.hibernate.sql.exec.internal.AbstractJdbcParameter
org.hibernate.sql.model.ast.ColumnValueParameter
- All Implemented Interfaces:
BasicValuedMapping, Bindable, JdbcMappingContainer, MappingModelExpressible, SqlExpressible, ValueMapping, SqlSelectionProducer, Expression, JdbcParameter, SqlAstNode, JdbcParameterBinder, JavaTypedExpressible
public class ColumnValueParameter
extends org.hibernate.sql.exec.internal.AbstractJdbcParameter
Parameter descriptor specific to mutations. It exposes metadata about the parameter.
[!NOTE]
Especially note the usage - we track parameters separately for assignments and restrictions to allow different values in each clause. E.g.
update ... set col = newValue where col = oldValue
-
Nested Class Summary
Nested classes/interfaces inherited from interface Bindable
Bindable.JdbcValuesBiConsumer<X,Y>, Bindable.JdbcValuesConsumer -
Field Summary
Fields inherited from interface JdbcParameterBinder
NOOP -
Constructor Summary
ConstructorsConstructorDescriptionColumnValueParameter(ColumnReference columnReference) ColumnValueParameter(ColumnReference columnReference, ParameterUsage usage) -
Method Summary
Methods inherited from class org.hibernate.sql.exec.internal.AbstractJdbcParameter
accept, addToCacheKey, bindParameterValue, bindParameterValue, disassemble, forEachDisassembledJdbcValue, forEachJdbcType, getExpressionType, getJdbcMapping, getJdbcTypeCount, getMappedType, getParameterBinder, getParameterId, getSingleJdbcMappingMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface BasicValuedMapping
getJdbcMappingMethods inherited from interface Bindable
forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValueMethods inherited from interface Expression
createDomainResultSqlSelection, createSqlSelectionMethods inherited from interface ValueMapping
getExpressibleJavaType, treatAs
-
Constructor Details
-
ColumnValueParameter
-
ColumnValueParameter
-
-
Method Details
-
getColumnReference
-
getUsage
-
toString
-