Package org.hibernate.query.spi
Interface QueryEngine
-
- All Known Implementing Classes:
MockSessionFactory,ProcessorSessionFactory,QueryEngineImpl
@Incubating public interface QueryEngine
Aggregation and encapsulation of the components Hibernate uses to execute queries (HQL, Criteria and native)
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_QUERY_PLAN_MAX_COUNTThe default soft reference count.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidclose()NodeBuildergetCriteriaBuilder()HqlTranslatorgetHqlTranslator()QueryInterpretationCachegetInterpretationCache()NamedObjectRepositorygetNamedObjectRepository()NativeQueryInterpretergetNativeQueryInterpreter()SqmFunctionRegistrygetSqmFunctionRegistry()SqmTranslatorFactorygetSqmTranslatorFactory()TypeConfigurationgetTypeConfiguration()default <R> HqlInterpretation<R>interpretHql(String hql, Class<R> resultType)voidvalidateNamedQueries()
-
-
-
Field Detail
-
DEFAULT_QUERY_PLAN_MAX_COUNT
static final int DEFAULT_QUERY_PLAN_MAX_COUNT
The default soft reference count.- See Also:
- Constant Field Values
-
-
Method Detail
-
getNativeQueryInterpreter
NativeQueryInterpreter getNativeQueryInterpreter()
-
getInterpretationCache
QueryInterpretationCache getInterpretationCache()
-
getSqmFunctionRegistry
SqmFunctionRegistry getSqmFunctionRegistry()
-
getTypeConfiguration
TypeConfiguration getTypeConfiguration()
-
getCriteriaBuilder
NodeBuilder getCriteriaBuilder()
-
close
void close()
-
validateNamedQueries
void validateNamedQueries()
-
getNamedObjectRepository
NamedObjectRepository getNamedObjectRepository()
-
getHqlTranslator
HqlTranslator getHqlTranslator()
-
getSqmTranslatorFactory
SqmTranslatorFactory getSqmTranslatorFactory()
-
interpretHql
default <R> HqlInterpretation<R> interpretHql(String hql, Class<R> resultType)
-
-