QueryParameterBinding.
| Modifier and Type | Field and Description |
|---|---|
| private BindableType | |
| private Object | |
| private Collection | |
| private TemporalType | |
| private boolean | |
| private boolean | |
| private final QueryParameter | |
| private final SessionFactoryImplementor | sessionFactory
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| private MappingModelExpressible |
| Access | Constructor and Description |
|---|---|
| protected | QueryParameterBindingImpl(QueryParameter<T> queryParameter, SessionFactoryImplementor sessionFactory)
Deprecated
as a consequence of
Used by SessionFactoryImplementor being deprecated.
org.
|
| public | QueryParameterBindingImpl(QueryParameter<T> queryParameter, SessionFactoryImplementor sessionFactory, BindableType<T> bindType)
Deprecated
as a consequence of
Used by Query (SQM) and NativeQuery
SessionFactoryImplementor being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private Object | |
| private JavaType | |
| public BindableType | getBindType()
Implements org. |
| public T | getBindValue()
Implements org. |
| public Collection | getBindValues()
Implements org. |
| public TemporalType | getExplicitTemporalPrecision()
Implements org. |
| public MappingModelExpressible | getType()
Implements org. |
| public TypeConfiguration | |
| private boolean | |
| public boolean | isBound()
Implements org. null) bound?
|
| public boolean | isMultiValued()
Implements org. |
| private boolean | |
| public void | setBindValue(T value, boolean resolveJdbcTypeIfNecessary)
Implements org. |
| public void | setBindValue(T
The bind value value, BindableType<T> The explicit Type to use clarifiedType)Implements org. |
| public void | setBindValue(T
The bind value value, TemporalType The temporal type to use temporalTypePrecision)Implements org. |
| public void | setBindValues(Collection<? extends T>
The bind values values)Implements org. |
| public void | setBindValues(Collection<? extends T>
The bind values values, BindableType<T> The explicit Type to use clarifiedType)Implements org. |
| public void | setBindValues(Collection<? extends T>
The bind values values, TemporalType The temporal type to use temporalTypePrecision, TypeConfiguration typeConfiguration)Implements org. |
| private void | |
| public boolean | setType(MappingModelExpressible<T>
The mapping model expressible type)Implements org. |
| private void | |
| private void | |
| private void |
| bindType | back to summary |
|---|---|
| private BindableType<? super T> bindType | |
| bindValue | back to summary |
|---|---|
| private Object bindValue | |
| bindValues | back to summary |
|---|---|
| private Collection<? extends T> bindValues | |
| explicitTemporalPrecision | back to summary |
|---|---|
| private TemporalType explicitTemporalPrecision | |
| isBound | back to summary |
|---|---|
| private boolean isBound | |
| isMultiValued | back to summary |
|---|---|
| private boolean isMultiValued | |
| queryParameter | back to summary |
|---|---|
| private final QueryParameter<T> queryParameter | |
| sessionFactory | back to summary |
|---|---|
| private final SessionFactoryImplementor sessionFactory
Deprecated as a consequence of | |
| type | back to summary |
|---|---|
| private MappingModelExpressible<T> type | |
| QueryParameterBindingImpl | back to summary |
|---|---|
| protected QueryParameterBindingImpl(QueryParameter<T> queryParameter, SessionFactoryImplementor sessionFactory)
Deprecated as a consequence of | |
| QueryParameterBindingImpl | back to summary |
|---|---|
| public QueryParameterBindingImpl(QueryParameter<T> queryParameter, SessionFactoryImplementor sessionFactory, BindableType<T> bindType)
Deprecated as a consequence of Used by Query (SQM) and NativeQuery | |
| bindNull | back to summary |
|---|---|
| private void bindNull(boolean resolveJdbcTypeIfNecessary) | |
| bindValue | back to summary |
|---|---|
| private void bindValue(Object value) | |
| coerce | back to summary |
|---|---|
| private Object coerce(T value, BindableType<? super T> parameterType) | |
| determineJavaType | back to summary |
|---|---|
| private JavaType | |
| getBindType | back to summary |
|---|---|
| public BindableType Implements org. Doc from org. Get the Type currently associated with this binding.
| |
| getBindValue | back to summary |
|---|---|
| public T getBindValue() Implements org. Doc from org. Get the value current bound.
| |
| getBindValues | back to summary |
|---|---|
| public Collection Implements org. Doc from org. Get the values currently bound.
| |
| getExplicitTemporalPrecision | back to summary |
|---|---|
| public TemporalType getExplicitTemporalPrecision() Implements org. Doc from org. If the parameter represents a temporal type, return the explicitly specified precision - if one.
| |
| getType | back to summary |
|---|---|
| public MappingModelExpressible Implements org. Doc from org. Returns the inferred mapping model expressible i.e. the model reference against which this parameter is compared.
| |
| getTypeConfiguration | back to summary |
|---|---|
| public TypeConfiguration getTypeConfiguration() Implements org.
| |
| handleAsMultiValue | back to summary |
|---|---|
| private boolean handleAsMultiValue(T value, BindableType<T> bindableType) | |
| isBound | back to summary |
|---|---|
| public boolean isBound() Implements org. Doc from org. Is any value (including
| |
| isMultiValued | back to summary |
|---|---|
| public boolean isMultiValued() Implements org. Doc from org. Is the binding multivalued?
| |
| isRegisteredAsBasicType | back to summary |
|---|---|
| private boolean isRegisteredAsBasicType(Class<?> valueClass) | |
| setBindValue | back to summary |
|---|---|
| public void setBindValue(T value, boolean resolveJdbcTypeIfNecessary) Implements org. Doc from org. Sets the parameter binding value. The inherent parameter type (if known) is assumed. The flag controls whether the parameter type should be resolved if necessary.
| |
| setBindValue | back to summary |
|---|---|
| public void setBindValue(T value, BindableType<T> clarifiedType) Implements org. Doc from org. Sets the parameter binding value using the explicit Type.
| |
| setBindValue | back to summary |
|---|---|
| public void setBindValue(T value, TemporalType temporalTypePrecision) Implements org. Doc from org. Sets the parameter binding value using the explicit TemporalType.
| |
| setBindValues | back to summary |
|---|---|
| public void setBindValues(Collection<? extends T> values) Implements org. Doc from org. Sets the parameter binding values. The inherent parameter type (if known) is assumed in regards to the individual values.
| |
| setBindValues | back to summary |
|---|---|
| public void setBindValues(Collection<? extends T> values, BindableType<T> clarifiedType) Implements org. Doc from org. Sets the parameter binding values using the explicit Type in regards to the individual values.
| |
| setBindValues | back to summary |
|---|---|
| public void setBindValues(Collection<? extends T> values, TemporalType temporalTypePrecision, TypeConfiguration typeConfiguration) Implements org. Doc from org. Sets the parameter binding value using the explicit TemporalType in regards to the individual values.
| |
| setExplicitTemporalPrecision | back to summary |
|---|---|
| private void setExplicitTemporalPrecision(TemporalType precision) | |
| setType | back to summary |
|---|---|
| public boolean setType(MappingModelExpressible<T> type) Implements org. Doc from org. Sets the mapping model expressible for this parameter.
| |
| validate | back to summary |
|---|---|
| private void validate(Object value) | |
| validate | back to summary |
|---|---|
| private void validate(Object value, BindableType<?> clarifiedType) | |
| validate | back to summary |
|---|---|
| private void validate(Object value, TemporalType clarifiedTemporalType) | |