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>>
,org.springframework.data.util.Streamable<RelationalParameters.RelationalParameter>
public class RelationalParameters
extends org.springframework.data.repository.query.Parameters<RelationalParameters,RelationalParameters.RelationalParameter>
Custom extension of
Parameters
.- Author:
- Mark Paluch
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
CustomParameter
implementation. -
Field Summary
Fields inherited from class org.springframework.data.repository.query.Parameters
TYPES
-
Constructor Summary
ConstructorDescriptionRelationalParameters
(Method method) Creates a newRelationalParameters
instance from the givenMethod
. -
Method Summary
Modifier and TypeMethodDescriptionprotected RelationalParameters
createFrom
(List<RelationalParameters.RelationalParameter> parameters) protected RelationalParameters.RelationalParameter
createParameter
(MethodParameter parameter) Methods inherited from class org.springframework.data.repository.query.Parameters
getBindableParameter, getBindableParameters, getDynamicProjectionIndex, getNumberOfParameters, getPageableIndex, getParameter, getScrollPositionIndex, getSortIndex, hasDynamicProjection, 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
Methods inherited from interface org.springframework.data.util.Streamable
and, and, and, and, filter, flatMap, get, isEmpty, map, stream, toList, toSet
-
Constructor Details
-
RelationalParameters
Creates a newRelationalParameters
instance from the givenMethod
.- Parameters:
method
- must not be null.
-
-
Method Details
-
createParameter
- Overrides:
createParameter
in classorg.springframework.data.repository.query.Parameters<RelationalParameters,
RelationalParameters.RelationalParameter>
-
createFrom
protected RelationalParameters createFrom(List<RelationalParameters.RelationalParameter> parameters) - Specified by:
createFrom
in classorg.springframework.data.repository.query.Parameters<RelationalParameters,
RelationalParameters.RelationalParameter>
-