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, Mark Paluch
-
Field Summary
Fields inherited from class org.springframework.data.repository.query.Parameters
TYPES
-
Constructor Summary
ConstructorDescriptionDefaultParameters
(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
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
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>
-