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) Deprecated, for removal: This API element is subject to removal in a future version.DefaultParameters
(ParametersSource parametersSource) Creates a newDefaultParameters
instance from the givenParametersSource
. -
Method Summary
Modifier and TypeMethodDescriptionprotected DefaultParameters
createFrom
(List<Parameter> parameters) Methods inherited from class org.springframework.data.repository.query.Parameters
createParameter, getBindableParameter, getBindableParameters, getDynamicProjectionIndex, getLimitIndex, getNumberOfParameters, getPageableIndex, getParameter, getScrollPositionIndex, getSortIndex, hasDynamicProjection, hasLimitParameter, hasPageableParameter, hasParameterAt, hasScrollPositionParameter, 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
Deprecated, for removal: This API element is subject to removal in a future version.since 3.1, useDefaultParameters(ParametersSource)
instead.Creates a newDefaultParameters
instance from the givenMethod
.- Parameters:
method
- must not be null.
-
DefaultParameters
Creates a newDefaultParameters
instance from the givenParametersSource
.- Parameters:
parametersSource
- must not be null.- Since:
- 3.2.1
-
-
Method Details
-
createFrom
- Specified by:
createFrom
in classParameters<DefaultParameters,
Parameter>
-
DefaultParameters(ParametersSource)
instead.