Class RelationalExampleMapper
java.lang.Object
org.springframework.data.relational.repository.query.RelationalExampleMapper
Transform an
Example into a Query.- Since:
- 2.2
- Author:
- Greg Turnquist
-
Constructor Summary
ConstructorsConstructorDescriptionRelationalExampleMapper(org.springframework.data.mapping.context.MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> mappingContext) -
Method Summary
Modifier and TypeMethodDescription<T> QuerygetMappedExample(org.springframework.data.domain.Example<T> example) Use theExampleto extract aQuery.
-
Constructor Details
-
RelationalExampleMapper
public RelationalExampleMapper(org.springframework.data.mapping.context.MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> mappingContext)
-
-
Method Details
-
getMappedExample
Use theExampleto extract aQuery.- Parameters:
example-- Returns:
- query
-