| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private final ParameterMetadataImplementor | |
| private final SessionFactoryImplementor | sessionFactory
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| Access | Constructor and Description |
|---|---|
| private | QueryParameterBindingsImpl(SessionFactoryImplementor sessionFactory, ParameterMetadataImplementor parameterMetadata)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| private MappingModelExpressible | determineMappingType(final QueryParameterBinding<?> binding, final QueryParameter<?> queryParameter, final SharedSessionContractImplementor session)
|
| public static QueryParameterBindingsImpl | from(ParameterMetadataImplementor parameterMetadata, SessionFactoryImplementor sessionFactory)
Deprecated
as a consequence of
Constructs a QueryParameterBindings based on the passed information
SessionFactoryImplementor being deprecated.
|
| public QueryKey. | generateQueryKeyMemento(SharedSessionContractImplementor session)
Implements org. QueryKey
|
| public <P> QueryParameterBinding | getBinding(QueryParameterImplementor<P>
The QueryParameter reference parameter)Implements org. |
| public <P> QueryParameterBinding | getBinding(int
The parameter position position)Implements org. |
| public <P> QueryParameterBinding | getBinding(String
The parameter name name)Implements org. |
| public boolean | |
| public boolean | isBound(QueryParameterImplementor<?>
The parameter to check for a binding parameter)Implements org. |
| protected <T> QueryParameterBinding | |
| public void | validate()
Implements org. |
| public void | visitBindings(BiConsumer<T, U> action)
Implements org. |
| parameterBindingMap | back to summary |
|---|---|
| private Map<QueryParameter<?>, QueryParameterBinding<?>> parameterBindingMap | |
| parameterMetadata | back to summary |
|---|---|
| private final ParameterMetadataImplementor parameterMetadata | |
| sessionFactory | back to summary |
|---|---|
| private final SessionFactoryImplementor sessionFactory
Deprecated as a consequence of | |
| QueryParameterBindingsImpl | back to summary |
|---|---|
| private QueryParameterBindingsImpl(SessionFactoryImplementor sessionFactory, ParameterMetadataImplementor parameterMetadata)
Deprecated as a consequence of | |
| determineMappingType | back to summary |
|---|---|
| private MappingModelExpressible | |
| from | back to summary |
|---|---|
| public static QueryParameterBindingsImpl from(ParameterMetadataImplementor parameterMetadata, SessionFactoryImplementor sessionFactory)
Deprecated as a consequence of Constructs a QueryParameterBindings based on the passed information | |
| generateQueryKeyMemento | back to summary |
|---|---|
| public QueryKey. Implements org. Doc from org. Generate a "memento" for these parameter bindings that can be used
in creating a
| |
| getBinding | back to summary |
|---|---|
| public <P> QueryParameterBinding Implements org. Doc from org. Access to the binding via QueryParameter reference
| |
| getBinding | back to summary |
|---|---|
| public <P> QueryParameterBinding Implements org. Doc from org. Access to the binding via position
| |
| getBinding | back to summary |
|---|---|
| public <P> QueryParameterBinding Implements org. Doc from org. Access to the binding via name
| |
| hasAnyMultiValuedBindings | back to summary |
|---|---|
| public boolean hasAnyMultiValuedBindings() Implements org.
| |
| isBound | back to summary |
|---|---|
| public boolean isBound(QueryParameterImplementor<?> parameter) Implements org. Doc from org. Has binding been done for the given parameter. Handles cases where we do not (yet) have a binding object as well by simply returning false.
| |
| makeBinding | back to summary |
|---|---|
| protected <T> QueryParameterBinding | |
| validate | back to summary |
|---|---|
| public void validate() Implements org. Doc from org. Validate the bindings. Called just before execution
| |
| visitBindings | back to summary |
|---|---|
| public void visitBindings(BiConsumer<T, U> action) Implements org.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public QueryKey. | build()
Implements org. |
| hashCode | back to summary |
|---|---|
| pack-priv int hashCode | |
| values | back to summary |
|---|---|
| pack-priv final List<Object> values | |
| MutableCacheKeyImpl | back to summary |
|---|---|
| public MutableCacheKeyImpl(int parameterBindingMapSize) | |
| addHashCode | back to summary |
|---|---|
| public void addHashCode(int hashCode) Implements org.
| |
| addValue | back to summary |
|---|---|
| public void addValue(Object value) Implements org.
| |
| build | back to summary |
|---|---|
| public QueryKey. Implements org. Doc from org. creates an Object to be used as a key into the query results cache.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int | |
| pack-priv final Object[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public int |
| hashCode | back to summary |
|---|---|
| pack-priv final int hashCode | |
| values | back to summary |
|---|---|
| pack-priv final Object[] values | |
| ParameterBindingsMementoImpl | back to summary |
|---|---|
| private ParameterBindingsMementoImpl(Object[] values, int hashCode) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |