Module spring.data.jpa
Class JpaParametersParameterAccessor
java.lang.Object
org.springframework.data.repository.query.ParametersParameterAccessor
org.springframework.data.jpa.repository.query.JpaParametersParameterAccessor
- All Implemented Interfaces:
Iterable<Object>,ParameterAccessor
ParameterAccessor based on an Parameters instance. It also
offers access to all the values, not just the bindable ones based on a JpaParameters.JpaParameter instance.- Author:
- Jens Schauder, Mark Paluch, Greg Turnquist
-
Constructor Summary
ConstructorsConstructorDescriptionJpaParametersParameterAccessor(Parameters<?, ?> parameters, Object[] values) Creates a newParametersParameterAccessor. -
Method Summary
Methods inherited from class org.springframework.data.repository.query.ParametersParameterAccessor
findDynamicProjection, getBindableValue, getLimit, getPageable, getParameters, getScrollPosition, getSort, getValue, hasBindableNullValue, iteratorMethods 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
-
JpaParametersParameterAccessor
Creates a newParametersParameterAccessor.- Parameters:
parameters- must not be null.values- must not be null.
-
-
Method Details
-
getValue
-
getValues
- Overrides:
getValuesin classParametersParameterAccessor
-
potentiallyUnwrap
Apply potential unwrapping toparameterValue.- Parameters:
parameterValue-- Since:
- 3.0.4
-