java.lang.Object
org.springframework.data.repository.query.Parameters<org.springframework.data.relational.repository.query.RelationalParameters,org.springframework.data.relational.repository.query.RelationalParameters.RelationalParameter>
org.springframework.data.relational.repository.query.RelationalParameters
org.springframework.data.jdbc.repository.query.JdbcParameters
- All Implemented Interfaces:
Iterable<org.springframework.data.relational.repository.query.RelationalParameters.RelationalParameter>,Supplier<Stream<org.springframework.data.relational.repository.query.RelationalParameters.RelationalParameter>>,Streamable<org.springframework.data.relational.repository.query.RelationalParameters.RelationalParameter>
public class JdbcParameters
extends org.springframework.data.relational.repository.query.RelationalParameters
Custom extension of
RelationalParameters.- Since:
- 3.2.6
- Author:
- Mark Paluch
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.springframework.data.relational.repository.query.RelationalParameters
org.springframework.data.relational.repository.query.RelationalParameters.RelationalParameter -
Field Summary
Fields inherited from class org.springframework.data.repository.query.Parameters
TYPES -
Constructor Summary
ConstructorsConstructorDescriptionJdbcParameters(ParametersSource parametersSource) Creates a newJdbcParametersinstance from the givenParametersSource. -
Method Summary
Modifier and TypeMethodDescriptionprotected JdbcParameterscreateFrom(List<org.springframework.data.relational.repository.query.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, 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
-
JdbcParameters
Creates a newJdbcParametersinstance from the givenParametersSource.- Parameters:
parametersSource- must not be null.
-
-
Method Details
-
getParameter
- Overrides:
getParameterin classParameters<org.springframework.data.relational.repository.query.RelationalParameters,org.springframework.data.relational.repository.query.RelationalParameters.RelationalParameter>
-
createFrom
protected JdbcParameters createFrom(List<org.springframework.data.relational.repository.query.RelationalParameters.RelationalParameter> parameters) - Overrides:
createFromin classorg.springframework.data.relational.repository.query.RelationalParameters
-