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 void
close()
static QueryEngine
from(SessionFactoryImplementor sessionFactory, MetadataImplementor metadata)
NodeBuilder
getCriteriaBuilder()
HqlTranslator
getHqlTranslator()
QueryInterpretationCache
getInterpretationCache()
NamedObjectRepository
getNamedObjectRepository()
NativeQueryInterpreter
getNativeQueryInterpreter()
SqmFunctionRegistry
getSqmFunctionRegistry()
SqmTranslatorFactory
getSqmTranslatorFactory()
TypeConfiguration
getTypeConfiguration()
void
validateNamedQueries()
-
-
-
Method Detail
-
from
public static QueryEngine from(SessionFactoryImplementor sessionFactory, MetadataImplementor metadata)
-
validateNamedQueries
public void validateNamedQueries()
- Specified by:
validateNamedQueries
in interfaceQueryEngine
-
getNamedObjectRepository
public NamedObjectRepository getNamedObjectRepository()
- Specified by:
getNamedObjectRepository
in interfaceQueryEngine
-
getTypeConfiguration
public TypeConfiguration getTypeConfiguration()
- Specified by:
getTypeConfiguration
in interfaceQueryEngine
-
getCriteriaBuilder
public NodeBuilder getCriteriaBuilder()
- Specified by:
getCriteriaBuilder
in interfaceQueryEngine
-
getHqlTranslator
public HqlTranslator getHqlTranslator()
- Specified by:
getHqlTranslator
in interfaceQueryEngine
-
getSqmTranslatorFactory
public SqmTranslatorFactory getSqmTranslatorFactory()
- Specified by:
getSqmTranslatorFactory
in interfaceQueryEngine
-
getNativeQueryInterpreter
public NativeQueryInterpreter getNativeQueryInterpreter()
- Specified by:
getNativeQueryInterpreter
in interfaceQueryEngine
-
getInterpretationCache
public QueryInterpretationCache getInterpretationCache()
- Specified by:
getInterpretationCache
in interfaceQueryEngine
-
getSqmFunctionRegistry
public SqmFunctionRegistry getSqmFunctionRegistry()
- Specified by:
getSqmFunctionRegistry
in interfaceQueryEngine
-
close
public void close()
- Specified by:
close
in interfaceQueryEngine
-
-