Package org.hibernate.query.spi
Interface ParameterMetadataImplementor
- All Superinterfaces:
ParameterMetadata
- All Known Subinterfaces:
ProcedureParameterMetadataImplementor
- All Known Implementing Classes:
ParameterMetadataImpl,ProcedureParameterMetadataImpl
- Author:
- Steve Ebersole
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidcollectAllParameters(Consumer<QueryParameterImplementor<?>> collector) createBindings(SessionFactoryImplementor sessionFactory) findQueryParameter(int positionLabel) Find the QueryParameter registered under the given position-label, if one.findQueryParameter(String name) Find the QueryParameter registered under the given name, if one.getQueryParameter(int positionLabel) Get the QueryParameter reference registered here under the given position-label.getQueryParameter(String name) Get the QueryParameter reference registered here under the given name.booleanhasAnyMatching(Predicate<QueryParameterImplementor<?>> filter) <P> QueryParameterImplementor<P>A deeper resolution attempt from a JPA parameter reference to Hibernate's contract.voidvisitParameters(Consumer<QueryParameterImplementor<?>> consumer) default voidvisitRegistrations(Consumer<? extends QueryParameter<?>> action) General purpose visitation using functionalMethods inherited from interface org.hibernate.query.ParameterMetadata
containsReference, getInferredParameterType, getNamedParameterNames, getOrdinalParameterLabels, getParameterCount, getRegistrations, hasNamedParameters, hasPositionalParameters
-
Method Details
-
visitParameters
-
collectAllParameters
-
visitRegistrations
Description copied from interface:ParameterMetadataGeneral purpose visitation using functional- Specified by:
visitRegistrationsin interfaceParameterMetadata
-
hasAnyMatching
-
findQueryParameter
Description copied from interface:ParameterMetadataFind the QueryParameter registered under the given name, if one.- Specified by:
findQueryParameterin interfaceParameterMetadata- Returns:
- The registered match, or
nullis there is no match - See Also:
-
getQueryParameter
Description copied from interface:ParameterMetadataGet the QueryParameter reference registered here under the given name.- Specified by:
getQueryParameterin interfaceParameterMetadata- Returns:
- The registered match. Never
null
-
findQueryParameter
Description copied from interface:ParameterMetadataFind the QueryParameter registered under the given position-label, if one.- Specified by:
findQueryParameterin interfaceParameterMetadata- Returns:
- The registered match, or
nullis there is no match - See Also:
-
getQueryParameter
Description copied from interface:ParameterMetadataGet the QueryParameter reference registered here under the given position-label.- Specified by:
getQueryParameterin interfaceParameterMetadata- Returns:
- The registered match. Never
null
-
resolve
Description copied from interface:ParameterMetadataA deeper resolution attempt from a JPA parameter reference to Hibernate's contract. Generally should return the same param reference. According to the spec, only Parameter references obtained from the provider are valid.- Specified by:
resolvein interfaceParameterMetadata
-
createBindings
-