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
Nested ClassesModifier and TypeClassDescriptionstatic classCustomParameterimplementation. -
Field Summary
Fields inherited from class org.springframework.data.repository.query.Parameters
TYPES -
Constructor Summary
ConstructorsConstructorDescriptionRelationalParameters(Method method) Creates a newRelationalParametersinstance from the givenMethod. -
Method Summary
Modifier and TypeMethodDescriptionprotected RelationalParameterscreateFrom(List<RelationalParameters.RelationalParameter> parameters) protected RelationalParameters.RelationalParametercreateParameter(org.springframework.core.MethodParameter parameter) Methods inherited from class org.springframework.data.repository.query.Parameters
getBindableParameter, getBindableParameters, getDynamicProjectionIndex, getNumberOfParameters, getPageableIndex, getParameter, getSortIndex, hasDynamicProjection, hasPageableParameter, hasParameterAt, hasSortParameter, hasSpecialParameter, isBindable, iterator, potentiallySortsDynamicallyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods 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 newRelationalParametersinstance from the givenMethod.- Parameters:
method- must not be null.
-
-
Method Details
-
createParameter
protected RelationalParameters.RelationalParameter createParameter(org.springframework.core.MethodParameter parameter) - Overrides:
createParameterin classorg.springframework.data.repository.query.Parameters<RelationalParameters,RelationalParameters.RelationalParameter>
-
createFrom
protected RelationalParameters createFrom(List<RelationalParameters.RelationalParameter> parameters) - Specified by:
createFromin classorg.springframework.data.repository.query.Parameters<RelationalParameters,RelationalParameters.RelationalParameter>
-