Package org.hibernate.query.spi
Interface QueryParameterListBinding<T>
Represents a "parameter list" binding: aka the binding of a collection of values for a single
query parameter.
-
Method Summary
Modifier and TypeMethodDescriptionGet the Type currently associated with this binding.Get the values currently bound.void
setBindValues
(Collection<T> values) Sets the parameter binding values.void
setBindValues
(Collection<T> values, TemporalType clarifiedTemporalType) Sets the parameter binding value using the explicit TemporalType in regards to the individual values.void
setBindValues
(Collection<T> values, BindableType clarifiedType) Sets the parameter binding values using the explicit Type in regards to the individual values.
-
Method Details
-
setBindValues
Sets the parameter binding values. The inherent parameter type (if known) is assumed in regards to the individual values.- Parameters:
values
- The bind values
-
setBindValues
Sets the parameter binding values using the explicit Type in regards to the individual values.- Parameters:
values
- The bind valuesclarifiedType
- The explicit Type to use
-
setBindValues
Sets the parameter binding value using the explicit TemporalType in regards to the individual values.- Parameters:
values
- The bind valuesclarifiedTemporalType
- The temporal type to use
-
getBindValues
Collection<T> getBindValues()Get the values currently bound.- Returns:
- The currently bound values
-
getBindType
Type getBindType()Get the Type currently associated with this binding.- Returns:
- The currently associated Type
-