Class JdbcRepositoryContributor
java.lang.Object
org.springframework.data.repository.aot.generate.RepositoryContributor
org.springframework.data.jdbc.repository.aot.JdbcRepositoryContributor
public class JdbcRepositoryContributor
extends org.springframework.data.repository.aot.generate.RepositoryContributor
JDBC-specific
RepositoryContributor contributing an AOT repository fragment.- Since:
- 4.0
- Author:
- Mark Paluch
-
Constructor Summary
ConstructorsConstructorDescriptionJdbcRepositoryContributor(AotRepositoryContext repositoryContext, JdbcDialect dialect, RelationalMappingContext mappingContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable org.springframework.data.repository.aot.generate.MethodContributor<? extends QueryMethod> contributeQueryMethod(Method method) protected voidcustomizeClass(org.springframework.data.repository.aot.generate.AotRepositoryClassBuilder classBuilder) protected voidcustomizeConstructor(org.springframework.data.repository.aot.generate.AotRepositoryConstructorBuilder constructorBuilder) Methods inherited from class org.springframework.data.repository.aot.generate.RepositoryContributor
contribute, createProjectionFactory, formatTraceMessage, getProjectionFactory, getRepositoryInformation, prefixWithLineNumbers
-
Constructor Details
-
JdbcRepositoryContributor
public JdbcRepositoryContributor(AotRepositoryContext repositoryContext, JdbcDialect dialect, RelationalMappingContext mappingContext)
-
-
Method Details
-
customizeClass
protected void customizeClass(org.springframework.data.repository.aot.generate.AotRepositoryClassBuilder classBuilder) - Overrides:
customizeClassin classorg.springframework.data.repository.aot.generate.RepositoryContributor
-
customizeConstructor
protected void customizeConstructor(org.springframework.data.repository.aot.generate.AotRepositoryConstructorBuilder constructorBuilder) - Overrides:
customizeConstructorin classorg.springframework.data.repository.aot.generate.RepositoryContributor
-
contributeQueryMethod
protected @Nullable org.springframework.data.repository.aot.generate.MethodContributor<? extends QueryMethod> contributeQueryMethod(Method method) - Overrides:
contributeQueryMethodin classorg.springframework.data.repository.aot.generate.RepositoryContributor
-