Class ParameterMetadataProvider
java.lang.Object
org.springframework.data.relational.repository.query.ParameterMetadataProvider
- All Implemented Interfaces:
Iterable<org.springframework.data.relational.repository.query.ParameterMetadata>
public class ParameterMetadataProvider
extends Object
implements Iterable<org.springframework.data.relational.repository.query.ParameterMetadata>
Helper class to allow easy creation of
ParameterMetadatas.- Since:
- 2.0
- Author:
- Roman Chigvintsev, Mark Paluch
-
Constructor Summary
ConstructorsConstructorDescriptionCreates new instance of this class with the givenRelationalParameterAccessorandEscaper. -
Method Summary
Modifier and TypeMethodDescriptionIterator<org.springframework.data.relational.repository.query.ParameterMetadata>iterator()org.springframework.data.relational.repository.query.ParameterMetadataprepareParameterValue(@Nullable Object value, Class<?> valueType, Part.Type partType) Prepares parameter value before it's actually bound to the query.Methods 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
-
ParameterMetadataProvider
Creates new instance of this class with the givenRelationalParameterAccessorandEscaper.- Parameters:
accessor- relational parameter accessor (must not be null).
-
-
Method Details