Module spring.data.relational
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>
public class RelationalParameters
extends Parameters<RelationalParameters,RelationalParameters.RelationalParameter>
Custom extension of
Parameters.- Author:
- Mark Paluch
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.springframework.data.repository.query.Parameters
TYPES -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRelationalParameters(ParametersSource parametersSource) Creates a newRelationalParametersinstance from the givenParametersSource.protectedRelationalParameters(ParametersSource parametersSource, Function<MethodParameter, RelationalParameters.RelationalParameter> parameterFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected RelationalParameterscreateFrom(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, 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, spliterator
-
Constructor Details
-
RelationalParameters
Creates a newRelationalParametersinstance 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:
createFromin classParameters<RelationalParameters,RelationalParameters.RelationalParameter>
-