public class ProcedureParamBindings extends Object implements QueryParameterBindings
Constructor and Description |
---|
ProcedureParamBindings(ProcedureParameterMetadata parameterMetadata,
ProcedureCallImpl procedureCall) |
Modifier and Type | Method and Description |
---|---|
Map<String,TypedValue> |
collectNamedParameterBindings() |
Type[] |
collectPositionalBindTypes() |
Object[] |
collectPositionalBindValues() |
String |
expandListValuedParameters(String queryString,
SharedSessionContractImplementor producer) |
<T> QueryParameterBinding<T> |
getBinding(int position) |
<T> QueryParameterBinding<T> |
getBinding(QueryParameter<T> parameter) |
<T> QueryParameterBinding<T> |
getBinding(String name) |
ProcedureParameterMetadata |
getParameterMetadata() |
ProcedureCallImpl |
getProcedureCall() |
<T> QueryParameterListBinding<T> |
getQueryParameterListBinding(int position) |
<T> QueryParameterListBinding<T> |
getQueryParameterListBinding(QueryParameter<T> parameter) |
<T> QueryParameterListBinding<T> |
getQueryParameterListBinding(String name) |
boolean |
isBound(QueryParameter parameter) |
void |
verifyParametersBound(boolean callable) |
public ProcedureParamBindings(ProcedureParameterMetadata parameterMetadata, ProcedureCallImpl procedureCall)
public ProcedureParameterMetadata getParameterMetadata()
public ProcedureCallImpl getProcedureCall()
public boolean isBound(QueryParameter parameter)
isBound
in interface QueryParameterBindings
public <T> QueryParameterBinding<T> getBinding(QueryParameter<T> parameter)
getBinding
in interface QueryParameterBindings
public <T> QueryParameterBinding<T> getBinding(String name)
getBinding
in interface QueryParameterBindings
public <T> QueryParameterBinding<T> getBinding(int position)
getBinding
in interface QueryParameterBindings
public void verifyParametersBound(boolean callable)
verifyParametersBound
in interface QueryParameterBindings
public String expandListValuedParameters(String queryString, SharedSessionContractImplementor producer)
expandListValuedParameters
in interface QueryParameterBindings
public <T> QueryParameterListBinding<T> getQueryParameterListBinding(QueryParameter<T> parameter)
getQueryParameterListBinding
in interface QueryParameterBindings
public <T> QueryParameterListBinding<T> getQueryParameterListBinding(String name)
getQueryParameterListBinding
in interface QueryParameterBindings
public <T> QueryParameterListBinding<T> getQueryParameterListBinding(int position)
getQueryParameterListBinding
in interface QueryParameterBindings
public Type[] collectPositionalBindTypes()
collectPositionalBindTypes
in interface QueryParameterBindings
public Object[] collectPositionalBindValues()
collectPositionalBindValues
in interface QueryParameterBindings
public Map<String,TypedValue> collectNamedParameterBindings()
collectNamedParameterBindings
in interface QueryParameterBindings
Copyright © 2019 JBoss by Red Hat. All rights reserved.