Package org.hibernate.query.internal
Class QueryEngineImpl
- java.lang.Object
-
- org.hibernate.query.internal.QueryEngineImpl
-
- All Implemented Interfaces:
QueryEngine
public class QueryEngineImpl extends Object implements 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()static QueryEnginefrom(SessionFactoryImplementor sessionFactory, MetadataImplementor metadata)NodeBuildergetCriteriaBuilder()HqlTranslatorgetHqlTranslator()QueryInterpretationCachegetInterpretationCache()NamedObjectRepositorygetNamedObjectRepository()NativeQueryInterpretergetNativeQueryInterpreter()SqmFunctionRegistrygetSqmFunctionRegistry()SqmTranslatorFactorygetSqmTranslatorFactory()TypeConfigurationgetTypeConfiguration()voidvalidateNamedQueries()-
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 Detail
-
from
public static QueryEngine from(SessionFactoryImplementor sessionFactory, MetadataImplementor metadata)
-
validateNamedQueries
public void validateNamedQueries()
- Specified by:
validateNamedQueriesin interfaceQueryEngine
-
getNamedObjectRepository
public NamedObjectRepository getNamedObjectRepository()
- Specified by:
getNamedObjectRepositoryin interfaceQueryEngine
-
getTypeConfiguration
public TypeConfiguration getTypeConfiguration()
- Specified by:
getTypeConfigurationin interfaceQueryEngine
-
getCriteriaBuilder
public NodeBuilder getCriteriaBuilder()
- Specified by:
getCriteriaBuilderin interfaceQueryEngine
-
getHqlTranslator
public HqlTranslator getHqlTranslator()
- Specified by:
getHqlTranslatorin interfaceQueryEngine
-
getSqmTranslatorFactory
public SqmTranslatorFactory getSqmTranslatorFactory()
- Specified by:
getSqmTranslatorFactoryin interfaceQueryEngine
-
getNativeQueryInterpreter
public NativeQueryInterpreter getNativeQueryInterpreter()
- Specified by:
getNativeQueryInterpreterin interfaceQueryEngine
-
getInterpretationCache
public QueryInterpretationCache getInterpretationCache()
- Specified by:
getInterpretationCachein interfaceQueryEngine
-
getSqmFunctionRegistry
public SqmFunctionRegistry getSqmFunctionRegistry()
- Specified by:
getSqmFunctionRegistryin interfaceQueryEngine
-
close
public void close()
- Specified by:
closein interfaceQueryEngine
-
-