Package org.hibernate.query.spi
Interface ParameterMetadataImplementor
- All Superinterfaces:
ParameterMetadata
- All Known Subinterfaces:
ProcedureParameterMetadataImplementor
- All Known Implementing Classes:
ParameterMetadataImpl,ProcedureParameterMetadataImpl
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidcollectAllParameters(Consumer<QueryParameter<?>> collector) createBindings(SessionFactoryImplementor sessionFactory) findQueryParameter(int positionLabel) Find the parameter reference registered at the given position-label, if there is one.findQueryParameter(String name) Find the parameter reference registered under the given name, if there is one.getQueryParameter(int positionLabel) Get the parameter reference registered at the given position-label.getQueryParameter(String name) Get the parameter reference registered under the given name.booleanhasAnyMatching(Predicate<QueryParameterImplementor<?>> filter) <P> QueryParameterImplementor<P> Obtain aQueryParameterrepresenting the same parameter as the given JPA-standardParameter.voidvisitParameters(Consumer<QueryParameter<?>> consumer) default voidvisitRegistrations(Consumer<QueryParameter<?>> action) General purpose visitation using functionalMethods inherited from interface org.hibernate.query.ParameterMetadata
containsReference, getInferredParameterType, getNamedParameterNames, getOrdinalParameterLabels, getParameterCount, getParameters, 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 parameter reference registered under the given name, if there is one.- Specified by:
findQueryParameterin interfaceParameterMetadata- Returns:
- The registered match, or
nullis there is no match - See Also:
-
getQueryParameter
Description copied from interface:ParameterMetadataGet the parameter reference registered under the given name.- Specified by:
getQueryParameterin interfaceParameterMetadata- Returns:
- The registered match. Never
null
-
findQueryParameter
Description copied from interface:ParameterMetadataFind the parameter reference registered at the given position-label, if there is one.- Specified by:
findQueryParameterin interfaceParameterMetadata- Returns:
- The registered match, or
nullis there is no match - See Also:
-
getQueryParameter
Description copied from interface:ParameterMetadataGet the parameter reference registered at the given position-label.- Specified by:
getQueryParameterin interfaceParameterMetadata- Returns:
- The registered match. Never
null
-
resolve
Description copied from interface:ParameterMetadataObtain aQueryParameterrepresenting the same parameter as the given JPA-standardParameter.- Specified by:
resolvein interfaceParameterMetadata
-
createBindings
-