接口 QueryParameterListBinding<T>
-
- 所有已知实现类:
QueryParameterListBindingImpl
public interface QueryParameterListBinding<T>Represents a "parameter list" binding: aka the binding of a collection of values for a single query parameter. At some point these need to be "expanded"; seeQueryParameterBindingsImpl.expandListValuedParameters(String, SharedSessionContractImplementor)for details.- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 TypegetBindType()Get the Type currently associated with this binding.Collection<T>getBindValues()Get the values currently bound.voidsetBindValues(Collection<T> values)Sets the parameter binding values.voidsetBindValues(Collection<T> values, javax.persistence.TemporalType clarifiedTemporalType)Sets the parameter binding value using the explicit TemporalType in regards to the individual values.voidsetBindValues(Collection<T> values, Type clarifiedType)Sets the parameter binding values using the explicit Type in regards to the individual values.
-
-
-
方法详细资料
-
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.- 参数:
values- The bind values
-
setBindValues
void setBindValues(Collection<T> values, Type clarifiedType)
Sets the parameter binding values using the explicit Type in regards to the individual values.- 参数:
values- The bind valuesclarifiedType- The explicit Type to use
-
setBindValues
void setBindValues(Collection<T> values, javax.persistence.TemporalType clarifiedTemporalType)
Sets the parameter binding value using the explicit TemporalType in regards to the individual values.- 参数:
values- The bind valuesclarifiedTemporalType- The temporal type to use
-
getBindValues
Collection<T> getBindValues()
Get the values currently bound.- 返回:
- The currently bound values
-
getBindType
Type getBindType()
Get the Type currently associated with this binding.- 返回:
- The currently associated Type
-
-