Package org.hibernate.sql.exec.internal
Class JdbcParameterBindingsImpl
- java.lang.Object
-
- org.hibernate.sql.exec.internal.JdbcParameterBindingsImpl
-
- All Implemented Interfaces:
JdbcParameterBindings
public class JdbcParameterBindingsImpl extends Object implements JdbcParameterBindings
Standard implementation of JdbcParameterBindings
-
-
Field Summary
-
Fields inherited from interface org.hibernate.sql.exec.spi.JdbcParameterBindings
NO_BINDINGS
-
-
Constructor Summary
Constructors Constructor Description JdbcParameterBindingsImpl(int expectedParameterCount)
JdbcParameterBindingsImpl(QueryParameterBindings queryParameterBindings, List<ParameterOccurrence> parameterOccurrences, List<JdbcParameterBinder> jdbcParameterBinders, SessionFactoryImplementor factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBinding(JdbcParameter parameter, JdbcParameterBinding binding)
void
clear()
JdbcParameterBinding
getBinding(JdbcParameter parameter)
Collection<JdbcParameterBinding>
getBindings()
void
visitBindings(BiConsumer<JdbcParameter,JdbcParameterBinding> action)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.exec.spi.JdbcParameterBindings
registerParametersForEachJdbcValue, registerParametersForEachJdbcValue
-
-
-
-
Constructor Detail
-
JdbcParameterBindingsImpl
public JdbcParameterBindingsImpl(int expectedParameterCount)
-
JdbcParameterBindingsImpl
public JdbcParameterBindingsImpl(QueryParameterBindings queryParameterBindings, List<ParameterOccurrence> parameterOccurrences, List<JdbcParameterBinder> jdbcParameterBinders, SessionFactoryImplementor factory)
-
-
Method Detail
-
addBinding
public void addBinding(JdbcParameter parameter, JdbcParameterBinding binding)
- Specified by:
addBinding
in interfaceJdbcParameterBindings
-
getBindings
public Collection<JdbcParameterBinding> getBindings()
- Specified by:
getBindings
in interfaceJdbcParameterBindings
-
getBinding
public JdbcParameterBinding getBinding(JdbcParameter parameter)
- Specified by:
getBinding
in interfaceJdbcParameterBindings
-
visitBindings
public void visitBindings(BiConsumer<JdbcParameter,JdbcParameterBinding> action)
- Specified by:
visitBindings
in interfaceJdbcParameterBindings
-
clear
public void clear()
-
-