Package org.hibernate.query.spi
Interface QueryParameterListBinding<T>
-
@Incubating public interface QueryParameterListBinding<T>
Represents a "parameter list" binding: aka the binding of a collection of values for a single query parameter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Type
getBindType()
Get the Type currently associated with this binding.Collection<T>
getBindValues()
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 Detail
-
setBindValues
void setBindValues(Collection<T> values)
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
void setBindValues(Collection<T> values, BindableType clarifiedType)
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
void setBindValues(Collection<T> values, TemporalType clarifiedTemporalType)
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
-
-