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 QueryInterpretationCache
buildInterpretationCache
(ServiceRegistry serviceRegistry, Map<String, Object> properties) void
close()
Avoid use of this, because Hibernate Processor can't do class loadingvoid
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.type.BindingContext
resolveExpressible
Methods 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:
validateNamedQueries
in interfaceQueryEngine
-
getNamedObjectRepository
- Specified by:
getNamedObjectRepository
in interfaceQueryEngine
-
getTypeConfiguration
- Specified by:
getTypeConfiguration
in interfaceBindingContext
-
getCriteriaBuilder
- Specified by:
getCriteriaBuilder
in interfaceQueryEngine
-
getClassLoaderService
Description copied from interface:QueryEngine
Avoid use of this, because Hibernate Processor can't do class loading- Specified by:
getClassLoaderService
in interfaceQueryEngine
-
getHqlTranslator
- Specified by:
getHqlTranslator
in interfaceQueryEngine
-
getSqmTranslatorFactory
- Specified by:
getSqmTranslatorFactory
in interfaceQueryEngine
-
getNativeQueryInterpreter
- Specified by:
getNativeQueryInterpreter
in interfaceQueryEngine
-
getInterpretationCache
- Specified by:
getInterpretationCache
in interfaceQueryEngine
-
getSqmFunctionRegistry
- Specified by:
getSqmFunctionRegistry
in interfaceQueryEngine
-
getJpaMetamodel
- Specified by:
getJpaMetamodel
in interfaceBindingContext
-
getMappingMetamodel
- Specified by:
getMappingMetamodel
in interfaceBindingContext
-
getDialect
- Specified by:
getDialect
in interfaceQueryEngine
-
close
public void close()- Specified by:
close
in interfaceQueryEngine
-