Package org.hibernate.query.internal
Class QueryEngineImpl
java.lang.Object
org.hibernate.query.internal.QueryEngineImpl
- All Implemented Interfaces:
QueryEngine,BindingContext
Aggregation and encapsulation of the components Hibernate uses
to execute queries (HQL, Criteria and native)
-
Field Summary
Fields inherited from interface org.hibernate.query.spi.QueryEngine
DEFAULT_QUERY_PLAN_MAX_COUNT -
Constructor Summary
ConstructorsConstructorDescriptionQueryEngineImpl(MetadataImplementor metadata, QueryEngineOptions options, BindingContext context, ServiceRegistryImplementor serviceRegistry, Map<String, Object> properties, String name) -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryInterpretationCachebuildInterpretationCache(ServiceRegistry serviceRegistry, Map<String, Object> properties) voidclose()Avoid use of this, because Hibernate Processor can't do class loadingvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.type.BindingContext
resolveExpressibleMethods inherited from interface org.hibernate.query.spi.QueryEngine
interpretHql
-
Constructor Details
-
QueryEngineImpl
public QueryEngineImpl(MetadataImplementor metadata, QueryEngineOptions options, BindingContext context, ServiceRegistryImplementor serviceRegistry, Map<String, Object> properties, String name)
-
-
Method Details
-
buildInterpretationCache
public static QueryInterpretationCache buildInterpretationCache(ServiceRegistry serviceRegistry, Map<String, Object> properties) -
validateNamedQueries
public void validateNamedQueries()- Specified by:
validateNamedQueriesin interfaceQueryEngine
-
getNamedObjectRepository
- Specified by:
getNamedObjectRepositoryin interfaceQueryEngine
-
getTypeConfiguration
- Specified by:
getTypeConfigurationin interfaceBindingContext
-
getCriteriaBuilder
- Specified by:
getCriteriaBuilderin interfaceQueryEngine
-
getClassLoaderService
Description copied from interface:QueryEngineAvoid use of this, because Hibernate Processor can't do class loading- Specified by:
getClassLoaderServicein interfaceQueryEngine
-
getHqlTranslator
- Specified by:
getHqlTranslatorin interfaceQueryEngine
-
getSqmTranslatorFactory
- Specified by:
getSqmTranslatorFactoryin interfaceQueryEngine
-
getNativeQueryInterpreter
- Specified by:
getNativeQueryInterpreterin interfaceQueryEngine
-
getInterpretationCache
- Specified by:
getInterpretationCachein interfaceQueryEngine
-
getSqmFunctionRegistry
- Specified by:
getSqmFunctionRegistryin interfaceQueryEngine
-
getJpaMetamodel
- Specified by:
getJpaMetamodelin interfaceBindingContext
-
getMappingMetamodel
- Specified by:
getMappingMetamodelin interfaceBindingContext
-
getDialect
- Specified by:
getDialectin interfaceQueryEngine
-
close
public void close()- Specified by:
closein interfaceQueryEngine
-