Package org.hibernate.query.internal
Class QueryEngineImpl
java.lang.Object
org.hibernate.query.internal.QueryEngineImpl
- All Implemented Interfaces:
QueryEngine
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static QueryEngineImpl
from
(MetadataImplementor metadata, QueryEngineOptions options, SqmCreationContext sqmCreationContext, ServiceRegistryImplementor serviceRegistry, Map<String, Object> properties, String name) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.query.spi.QueryEngine
interpretHql
-
Method Details
-
from
public static QueryEngineImpl from(MetadataImplementor metadata, QueryEngineOptions options, SqmCreationContext sqmCreationContext, ServiceRegistryImplementor serviceRegistry, Map<String, Object> properties, String name) -
validateNamedQueries
public void validateNamedQueries()- Specified by:
validateNamedQueries
in interfaceQueryEngine
-
getNamedObjectRepository
- Specified by:
getNamedObjectRepository
in interfaceQueryEngine
-
getTypeConfiguration
- Specified by:
getTypeConfiguration
in interfaceQueryEngine
-
getCriteriaBuilder
- Specified by:
getCriteriaBuilder
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
-
close
public void close()- Specified by:
close
in interfaceQueryEngine
-