Class RelationalParameters
java.lang.Object
org.springframework.data.repository.query.Parameters<RelationalParameters,RelationalParameters.RelationalParameter>
org.springframework.data.relational.repository.query.RelationalParameters
- All Implemented Interfaces:
Iterable<RelationalParameters.RelationalParameter>
,Supplier<Stream<RelationalParameters.RelationalParameter>>
,Streamable<RelationalParameters.RelationalParameter>
- Direct Known Subclasses:
JdbcParameters
public class RelationalParameters
extends Parameters<RelationalParameters,RelationalParameters.RelationalParameter>
Custom extension of
Parameters
.- Author:
- Mark Paluch
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.springframework.data.repository.query.Parameters
TYPES
-
Constructor Summary
ModifierConstructorDescriptionprotected
RelationalParameters
(ParametersSource parametersSource) Creates a newRelationalParameters
instance from the givenParametersSource
.protected
RelationalParameters
(ParametersSource parametersSource, Function<MethodParameter, RelationalParameters.RelationalParameter> parameterFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected RelationalParameters
createFrom
(List<RelationalParameters.RelationalParameter> 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
-
RelationalParameters
Creates a newRelationalParameters
instance from the givenParametersSource
.- Parameters:
parametersSource
- must not be null.
-
RelationalParameters
protected RelationalParameters(ParametersSource parametersSource, Function<MethodParameter, RelationalParameters.RelationalParameter> parameterFactory) -
RelationalParameters
-
-
Method Details
-
createFrom
protected RelationalParameters createFrom(List<RelationalParameters.RelationalParameter> parameters) - Specified by:
createFrom
in classParameters<RelationalParameters,
RelationalParameters.RelationalParameter>
-