Class JdbcParameters
java.lang.Object
org.springframework.data.repository.query.Parameters<RelationalParameters,RelationalParameters.RelationalParameter>
org.springframework.data.relational.repository.query.RelationalParameters
org.springframework.data.jdbc.repository.query.JdbcParameters
- All Implemented Interfaces:
Iterable<RelationalParameters.RelationalParameter>
,Supplier<Stream<RelationalParameters.RelationalParameter>>
,Streamable<RelationalParameters.RelationalParameter>
Custom extension of
RelationalParameters
.- Since:
- 3.2.6
- Author:
- Mark Paluch
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.relational.repository.query.RelationalParameters
RelationalParameters.RelationalParameter
-
Field Summary
Fields inherited from class org.springframework.data.repository.query.Parameters
TYPES
-
Constructor Summary
ConstructorDescriptionJdbcParameters
(ParametersSource parametersSource) Creates a newJdbcParameters
instance from the givenParametersSource
. -
Method Summary
Modifier and TypeMethodDescriptionprotected JdbcParameters
createFrom
(List<RelationalParameters.RelationalParameter> parameters) getParameter
(int index) Methods inherited from class org.springframework.data.repository.query.Parameters
getBindableParameter, getBindableParameters, getDynamicProjectionIndex, getLimitIndex, getNumberOfParameters, getPageableIndex, 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
-
JdbcParameters
Creates a newJdbcParameters
instance from the givenParametersSource
.- Parameters:
parametersSource
- must not be null.
-
-
Method Details
-
getParameter
- Overrides:
getParameter
in classParameters<RelationalParameters,
RelationalParameters.RelationalParameter>
-
createFrom
- Overrides:
createFrom
in classRelationalParameters
-