Class DefaultParameters
java.lang.Object
org.springframework.data.repository.query.Parameters<DefaultParameters,Parameter>
org.springframework.data.repository.query.DefaultParameters
Default implementation of
Parameters
.- Author:
- Oliver Gierke
-
Field Summary
Fields inherited from class org.springframework.data.repository.query.Parameters
TYPES
-
Constructor Summary
ConstructorDescriptionDefaultParameters
(Method method) Creates a newDefaultParameters
instance from the givenMethod
. -
Method Summary
Modifier and TypeMethodDescriptionprotected DefaultParameters
createFrom
(List<Parameter> parameters) protected Parameter
createParameter
(MethodParameter parameter) Creates aParameter
instance for the givenMethodParameter
.Methods inherited from class org.springframework.data.repository.query.Parameters
getBindableParameter, getBindableParameters, getDynamicProjectionIndex, getNumberOfParameters, getPageableIndex, getParameter, getSortIndex, hasDynamicProjection, hasPageableParameter, hasParameterAt, hasSortParameter, hasSpecialParameter, isBindable, iterator, potentiallySortsDynamically
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
DefaultParameters
Creates a newDefaultParameters
instance from the givenMethod
.- Parameters:
method
- must not be null.
-
-
Method Details
-
createParameter
Description copied from class:Parameters
Creates aParameter
instance for the givenMethodParameter
.- Specified by:
createParameter
in classParameters<DefaultParameters,
Parameter> - Parameters:
parameter
- will never be null.- Returns:
-
createFrom
- Specified by:
createFrom
in classParameters<DefaultParameters,
Parameter>
-