Class ReactiveNamedObjectRepositoryImpl
java.lang.Object
org.hibernate.reactive.query.internal.ReactiveNamedObjectRepositoryImpl
- All Implemented Interfaces:
org.hibernate.query.named.NamedObjectRepository
public class ReactiveNamedObjectRepositoryImpl
extends Object
implements org.hibernate.query.named.NamedObjectRepository
-
Constructor Summary
ConstructorsConstructorDescriptionReactiveNamedObjectRepositoryImpl(org.hibernate.query.named.NamedObjectRepository delegate) -
Method Summary
Modifier and TypeMethodDescriptioncheckNamedQueries(org.hibernate.query.spi.QueryEngine queryPlanCache) voidclose()org.hibernate.procedure.spi.NamedCallableQueryMementogetNamedQueries(Class<R> resultType) org.hibernate.query.sql.spi.NamedNativeQueryMemento<?>getNativeQueryMemento(String queryName) org.hibernate.query.named.NamedResultSetMappingMementogetResultSetMappingMemento(String mappingName) org.hibernate.query.sqm.spi.NamedSqmQueryMemento<?>getSqmQueryMemento(String queryName) voidprepare(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, org.hibernate.boot.Metadata bootMetamodel) voidregisterCallableQueryMemento(String name, org.hibernate.procedure.spi.NamedCallableQueryMemento memento) voidregisterNamedQuery(String name, jakarta.persistence.Query query) <R> jakarta.persistence.TypedQueryReference<R>registerNamedQuery(String name, jakarta.persistence.TypedQuery<R> query) voidregisterNativeQueryMemento(String name, org.hibernate.query.sql.spi.NamedNativeQueryMemento descriptor) voidregisterResultSetMappingMemento(String name, org.hibernate.query.named.NamedResultSetMappingMemento memento) voidregisterSqmQueryMemento(String name, org.hibernate.query.sqm.spi.NamedSqmQueryMemento descriptor) org.hibernate.query.named.NamedQueryMemento<?>resolve(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, org.hibernate.boot.spi.MetadataImplementor bootMetamodel, String registrationName) voidvalidateNamedQueries(org.hibernate.query.spi.QueryEngine queryEngine) voidvisitCallableQueryMementos(Consumer<org.hibernate.procedure.spi.NamedCallableQueryMemento> action) voidvisitNativeQueryMementos(Consumer<org.hibernate.query.sql.spi.NamedNativeQueryMemento<?>> action) voidvisitResultSetMappingMementos(Consumer<org.hibernate.query.named.NamedResultSetMappingMemento> action) voidvisitSqmQueryMementos(Consumer<org.hibernate.query.sqm.spi.NamedSqmQueryMemento<?>> action)
-
Constructor Details
-
ReactiveNamedObjectRepositoryImpl
public ReactiveNamedObjectRepositoryImpl(org.hibernate.query.named.NamedObjectRepository delegate)
-
-
Method Details
-
getNamedQueries
public <R> Map<String,jakarta.persistence.TypedQueryReference<R>> getNamedQueries(Class<R> resultType) - Specified by:
getNamedQueriesin interfaceorg.hibernate.query.named.NamedObjectRepository
-
getSqmQueryMemento
- Specified by:
getSqmQueryMementoin interfaceorg.hibernate.query.named.NamedObjectRepository
-
registerNamedQuery
- Specified by:
registerNamedQueryin interfaceorg.hibernate.query.named.NamedObjectRepository
-
registerNamedQuery
public <R> jakarta.persistence.TypedQueryReference<R> registerNamedQuery(String name, jakarta.persistence.TypedQuery<R> query) - Specified by:
registerNamedQueryin interfaceorg.hibernate.query.named.NamedObjectRepository
-
visitSqmQueryMementos
public void visitSqmQueryMementos(Consumer<org.hibernate.query.sqm.spi.NamedSqmQueryMemento<?>> action) - Specified by:
visitSqmQueryMementosin interfaceorg.hibernate.query.named.NamedObjectRepository
-
registerSqmQueryMemento
public void registerSqmQueryMemento(String name, org.hibernate.query.sqm.spi.NamedSqmQueryMemento descriptor) - Specified by:
registerSqmQueryMementoin interfaceorg.hibernate.query.named.NamedObjectRepository
-
getNativeQueryMemento
public org.hibernate.query.sql.spi.NamedNativeQueryMemento<?> getNativeQueryMemento(String queryName) - Specified by:
getNativeQueryMementoin interfaceorg.hibernate.query.named.NamedObjectRepository
-
visitNativeQueryMementos
public void visitNativeQueryMementos(Consumer<org.hibernate.query.sql.spi.NamedNativeQueryMemento<?>> action) - Specified by:
visitNativeQueryMementosin interfaceorg.hibernate.query.named.NamedObjectRepository
-
registerNativeQueryMemento
public void registerNativeQueryMemento(String name, org.hibernate.query.sql.spi.NamedNativeQueryMemento descriptor) - Specified by:
registerNativeQueryMementoin interfaceorg.hibernate.query.named.NamedObjectRepository
-
getCallableQueryMemento
- Specified by:
getCallableQueryMementoin interfaceorg.hibernate.query.named.NamedObjectRepository
-
visitCallableQueryMementos
public void visitCallableQueryMementos(Consumer<org.hibernate.procedure.spi.NamedCallableQueryMemento> action) - Specified by:
visitCallableQueryMementosin interfaceorg.hibernate.query.named.NamedObjectRepository
-
registerCallableQueryMemento
public void registerCallableQueryMemento(String name, org.hibernate.procedure.spi.NamedCallableQueryMemento memento) - Specified by:
registerCallableQueryMementoin interfaceorg.hibernate.query.named.NamedObjectRepository
-
getResultSetMappingMemento
public org.hibernate.query.named.NamedResultSetMappingMemento getResultSetMappingMemento(String mappingName) - Specified by:
getResultSetMappingMementoin interfaceorg.hibernate.query.named.NamedObjectRepository
-
visitResultSetMappingMementos
public void visitResultSetMappingMementos(Consumer<org.hibernate.query.named.NamedResultSetMappingMemento> action) - Specified by:
visitResultSetMappingMementosin interfaceorg.hibernate.query.named.NamedObjectRepository
-
registerResultSetMappingMemento
public void registerResultSetMappingMemento(String name, org.hibernate.query.named.NamedResultSetMappingMemento memento) - Specified by:
registerResultSetMappingMementoin interfaceorg.hibernate.query.named.NamedObjectRepository
-
checkNamedQueries
public Map<String,org.hibernate.HibernateException> checkNamedQueries(org.hibernate.query.spi.QueryEngine queryPlanCache) - Specified by:
checkNamedQueriesin interfaceorg.hibernate.query.named.NamedObjectRepository
-
validateNamedQueries
public void validateNamedQueries(org.hibernate.query.spi.QueryEngine queryEngine) - Specified by:
validateNamedQueriesin interfaceorg.hibernate.query.named.NamedObjectRepository
-
resolve
public org.hibernate.query.named.NamedQueryMemento<?> resolve(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, org.hibernate.boot.spi.MetadataImplementor bootMetamodel, String registrationName) - Specified by:
resolvein interfaceorg.hibernate.query.named.NamedObjectRepository
-
prepare
public void prepare(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, org.hibernate.boot.Metadata bootMetamodel) - Specified by:
preparein interfaceorg.hibernate.query.named.NamedObjectRepository
-
close
public void close()- Specified by:
closein interfaceorg.hibernate.query.named.NamedObjectRepository
-