public class JpaParametersParameterAccessor
extends org.springframework.data.repository.query.ParametersParameterAccessor
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.| Constructor and Description |
|---|
JpaParametersParameterAccessor(org.springframework.data.repository.query.Parameters<?,?> parameters,
Object[] values)
Creates a new
ParametersParameterAccessor. |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getValue(org.springframework.data.repository.query.Parameter parameter) |
Object[] |
getValues() |
Object |
potentiallyUnwrap(Object extractedValue)
Utility method to potentially unwrap certain provider-specific types.
|
findDynamicProjection, getBindableValue, getDynamicProjection, getPageable, getParameters, getSort, getValue, hasBindableNullValue, iteratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic JpaParametersParameterAccessor(org.springframework.data.repository.query.Parameters<?,?> parameters,
Object[] values)
ParametersParameterAccessor.parameters - must not be null.values - must not be null.@Nullable public <T> T getValue(org.springframework.data.repository.query.Parameter parameter)
@Nullable public Object potentiallyUnwrap(Object extractedValue)
extractedValue - the unwrapped value or the input value if there is nothing to unwrap.public Object[] getValues()
getValues in class org.springframework.data.repository.query.ParametersParameterAccessorCopyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.