public class QueryParameterBindingsImpl extends java.lang.Object implements QueryParameterBindings
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Type> |
collectBindTypes()
Deprecated.
(since 5.2) expect a different approach to org.hibernate.engine.spi.QueryParameters in 6.0
|
java.util.Collection<java.lang.Object> |
collectBindValues()
Deprecated.
(since 5.2) expect a different approach to org.hibernate.engine.spi.QueryParameters in 6.0
|
java.util.Map<java.lang.String,TypedValue> |
collectNamedParameterBindings()
Deprecated.
(since 5.2) expect a different approach to org.hibernate.engine.spi.QueryParameters in 6.0
|
Type[] |
collectPositionalBindTypes()
Deprecated.
(since 5.2) expect a different approach to org.hibernate.engine.spi.QueryParameters in 6.0
|
java.lang.Object[] |
collectPositionalBindValues()
Deprecated.
(since 5.2) expect a different approach to org.hibernate.engine.spi.QueryParameters in 6.0
|
java.lang.String |
expandListValuedParameters(java.lang.String queryString,
SharedSessionContractImplementor session)
Deprecated.
(since 5.2) expected changes to "collection-valued parameter binding" in 6.0
|
static QueryParameterBindingsImpl |
from(ParameterMetadata parameterMetadata,
SessionFactoryImplementor sessionFactory,
boolean queryParametersValidationEnabled) |
QueryParameterBinding |
getBinding(int position) |
<T> QueryParameterBinding<T> |
getBinding(QueryParameter<T> parameter) |
QueryParameterBinding |
getBinding(java.lang.String name) |
<T> QueryParameterListBinding<T> |
getQueryParameterListBinding(QueryParameter<T> queryParameter)
Deprecated.
(since 5.2) expected changes to "collection-valued parameter binding" in 6.0
|
<T> QueryParameterListBinding<T> |
getQueryParameterListBinding(java.lang.String name)
Deprecated.
(since 5.2) expected changes to "collection-valued parameter binding" in 6.0
|
boolean |
isBound(QueryParameter parameter) |
protected QueryParameterBinding |
locateAndRemoveBinding(java.lang.String name) |
protected QueryParameterBinding |
locateBinding(int position) |
<T> QueryParameterBinding<T> |
locateBinding(QueryParameter<T> parameter) |
protected QueryParameterBinding |
locateBinding(java.lang.String name) |
protected QueryParameterBinding |
makeBinding(QueryParameter queryParameter) |
protected QueryParameterBinding |
makeBinding(Type bindType) |
void |
verifyParametersBound(boolean reserveFirstParameter) |
public static QueryParameterBindingsImpl from(ParameterMetadata parameterMetadata, SessionFactoryImplementor sessionFactory, boolean queryParametersValidationEnabled)
protected QueryParameterBinding makeBinding(QueryParameter queryParameter)
protected QueryParameterBinding makeBinding(Type bindType)
public boolean isBound(QueryParameter parameter)
isBound in interface QueryParameterBindingspublic <T> QueryParameterBinding<T> getBinding(QueryParameter<T> parameter)
getBinding in interface QueryParameterBindingspublic <T> QueryParameterBinding<T> locateBinding(QueryParameter<T> parameter)
protected QueryParameterBinding locateBinding(java.lang.String name)
protected QueryParameterBinding locateAndRemoveBinding(java.lang.String name)
protected QueryParameterBinding locateBinding(int position)
public QueryParameterBinding getBinding(java.lang.String name)
getBinding in interface QueryParameterBindingspublic QueryParameterBinding getBinding(int position)
getBinding in interface QueryParameterBindingspublic void verifyParametersBound(boolean reserveFirstParameter)
@Deprecated public java.util.Collection<Type> collectBindTypes()
@Deprecated public java.util.Collection<java.lang.Object> collectBindValues()
@Deprecated public Type[] collectPositionalBindTypes()
@Deprecated public java.lang.Object[] collectPositionalBindValues()
@Deprecated public java.util.Map<java.lang.String,TypedValue> collectNamedParameterBindings()
@Deprecated public <T> QueryParameterListBinding<T> getQueryParameterListBinding(QueryParameter<T> queryParameter)
@Deprecated public <T> QueryParameterListBinding<T> getQueryParameterListBinding(java.lang.String name)
@Deprecated
public java.lang.String expandListValuedParameters(java.lang.String queryString,
SharedSessionContractImplementor session)
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.