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 int
DEFAULT_QUERY_PLAN_MAX_COUNT
The default soft reference count.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
close()
NodeBuilder
getCriteriaBuilder()
HqlTranslator
getHqlTranslator()
QueryInterpretationCache
getInterpretationCache()
NamedObjectRepository
getNamedObjectRepository()
NativeQueryInterpreter
getNativeQueryInterpreter()
SqmFunctionRegistry
getSqmFunctionRegistry()
SqmTranslatorFactory
getSqmTranslatorFactory()
TypeConfiguration
getTypeConfiguration()
default <R> HqlInterpretation<R>
interpretHql(String hql, Class<R> resultType)
void
validateNamedQueries()
-
-
-
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)
-
-