Package org.hibernate.sql.exec.spi
Interface JdbcParameterBindings
-
- All Known Implementing Classes:
JdbcParameterBindingsImpl
public interface JdbcParameterBindings
Access to all the externalized JDBC parameter bindings- API Note:
- "Externalized" because some JDBC parameter values are
intrinsically part of the parameter itself, and we do not need to
locate a JdbcParameterBinding. E.g., consider a
LiteralAsParameter
which encapsulates the literal value inside itself - to create the binder and actually perform the binding is only dependent on the LiteralParameter
-
-
Field Summary
Fields Modifier and Type Field Description static JdbcParameterBindings
NO_BINDINGS
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
addBinding(JdbcParameter parameter, JdbcParameterBinding binding)
JdbcParameterBinding
getBinding(JdbcParameter parameter)
Collection<JdbcParameterBinding>
getBindings()
default int
registerParametersForEachJdbcValue(Object value, int offset, Bindable bindable, JdbcParametersList jdbcParameters, SharedSessionContractImplementor session)
default int
registerParametersForEachJdbcValue(Object value, Bindable bindable, JdbcParametersList jdbcParameters, SharedSessionContractImplementor session)
void
visitBindings(BiConsumer<JdbcParameter,JdbcParameterBinding> action)
-
-
-
Field Detail
-
NO_BINDINGS
static final JdbcParameterBindings NO_BINDINGS
-
-
Method Detail
-
addBinding
void addBinding(JdbcParameter parameter, JdbcParameterBinding binding)
-
getBindings
Collection<JdbcParameterBinding> getBindings()
-
getBinding
JdbcParameterBinding getBinding(JdbcParameter parameter)
-
visitBindings
void visitBindings(BiConsumer<JdbcParameter,JdbcParameterBinding> action)
-
registerParametersForEachJdbcValue
default int registerParametersForEachJdbcValue(Object value, Bindable bindable, JdbcParametersList jdbcParameters, SharedSessionContractImplementor session)
-
registerParametersForEachJdbcValue
default int registerParametersForEachJdbcValue(Object value, int offset, Bindable bindable, JdbcParametersList jdbcParameters, SharedSessionContractImplementor session)
-
-