Package org.hibernate.query.spi
Interface QueryEngineOptions
-
- All Known Subinterfaces:
SessionFactoryOptions
- All Known Implementing Classes:
AbstractDelegatingSessionFactoryOptions
,SessionFactoryOptionsBuilder
public interface QueryEngineOptions
User configuration options related to theQueryEngine
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HqlTranslator
getCustomHqlTranslator()
Translator for transforming HQL (as an Antlr parse tree) into an SQM tree.Map<String,SqmFunctionDescriptor>
getCustomSqlFunctionMap()
User defined SQM functions available for use in HQL and Criteria.SqmFunctionRegistry
getCustomSqmFunctionRegistry()
User supplied registry of SQM functions available for use in HQL and Criteria Can be used in conjunction withgetCustomSqlFunctionMap()
, but generally one or the other will be used.SqmMultiTableInsertStrategy
getCustomSqmMultiTableInsertStrategy()
Contract for handling SQM trees representing insertion (INSERT) queries where the target of the mutation is a multi-table entity.SqmMultiTableMutationStrategy
getCustomSqmMultiTableMutationStrategy()
Contract for handling SQM trees representing mutation (UPDATE or DELETE) queries where the target of the mutation is a multi-table entity.SqmTranslatorFactory
getCustomSqmTranslatorFactory()
Factory for translators transforming an SQM tree into a different form.
-
-
-
Method Detail
-
getCustomHqlTranslator
HqlTranslator getCustomHqlTranslator()
Translator for transforming HQL (as an Antlr parse tree) into an SQM tree.- See Also:
org.hibernate.query.hql
-
getCustomSqmTranslatorFactory
SqmTranslatorFactory getCustomSqmTranslatorFactory()
Factory for translators transforming an SQM tree into a different form. For standard ORM implementations this will generally be some form of SQL tree.- See Also:
org.hibernate.sql.ast.tree
-
getCustomSqlFunctionMap
Map<String,SqmFunctionDescriptor> getCustomSqlFunctionMap()
User defined SQM functions available for use in HQL and Criteria. Ultimately made available to theSqmTranslatorFactory
for use in translating an SQM tree. Can be used in conjunction withgetCustomSqmFunctionRegistry()
, but generally one or the other will be used.
-
getCustomSqmFunctionRegistry
SqmFunctionRegistry getCustomSqmFunctionRegistry()
User supplied registry of SQM functions available for use in HQL and Criteria Can be used in conjunction withgetCustomSqlFunctionMap()
, but generally one or the other will be used.
-
getCustomSqmMultiTableMutationStrategy
SqmMultiTableMutationStrategy getCustomSqmMultiTableMutationStrategy()
Contract for handling SQM trees representing mutation (UPDATE or DELETE) queries where the target of the mutation is a multi-table entity.
-
getCustomSqmMultiTableInsertStrategy
SqmMultiTableInsertStrategy getCustomSqmMultiTableInsertStrategy()
Contract for handling SQM trees representing insertion (INSERT) queries where the target of the mutation is a multi-table entity.
-
-