Class JpaParameters
java.lang.Object
org.springframework.data.repository.query.Parameters<JpaParameters,JpaParameters.JpaParameter>
org.springframework.data.jpa.repository.query.JpaParameters
- All Implemented Interfaces:
Iterable<JpaParameters.JpaParameter>,Supplier<Stream<JpaParameters.JpaParameter>>,Streamable<JpaParameters.JpaParameter>
Custom extension of
Parameters discovering additional query parameter annotations.- Author:
- Thomas Darimont, Mark Paluch, Réda Housni Alaoui
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields inherited from class org.springframework.data.repository.query.Parameters
TYPES -
Constructor Summary
ConstructorsConstructorDescriptionJpaParameters(Method method) Creates a newJpaParametersinstance from the givenMethod. -
Method Summary
Modifier and TypeMethodDescriptionprotected JpaParameterscreateFrom(List<JpaParameters.JpaParameter> parameters) protected JpaParameters.JpaParametercreateParameter(MethodParameter parameter) Methods inherited from class org.springframework.data.repository.query.Parameters
getBindableParameter, getBindableParameters, getDynamicProjectionIndex, getNumberOfParameters, getPageableIndex, getParameter, getSortIndex, hasDynamicProjection, hasPageableParameter, hasParameterAt, hasSortParameter, hasSpecialParameter, isBindable, iterator, potentiallySortsDynamicallyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
JpaParameters
Creates a newJpaParametersinstance from the givenMethod.- Parameters:
method- must not be null.
-
-
Method Details
-
createParameter
- Specified by:
createParameterin classParameters<JpaParameters,JpaParameters.JpaParameter>
-
createFrom
- Specified by:
createFromin classParameters<JpaParameters,JpaParameters.JpaParameter>
-