Package org.hibernate.query.spi
Interface QueryEngineOptions
-
- All Known Subinterfaces:
SessionFactoryOptions
- All Known Implementing Classes:
AbstractDelegatingSessionFactoryOptions
,MockSessionFactory
,ProcessorSessionFactory
,SessionFactoryOptionsBuilder
public interface QueryEngineOptions
User configuration options related to theQueryEngine
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValueHandlingMode
getCriteriaValueHandlingMode()
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 CriteriaSqmMultiTableInsertStrategy
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.JpaCompliance
getJpaCompliance()
boolean
isPortableIntegerDivisionEnabled()
-
-
-
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 the
SqmTranslatorFactory
for use in translating an SQM tree.Can be used in conjunction with
getCustomSqmFunctionRegistry()
, but generally one or the other will be used.
-
getCustomSqmFunctionRegistry
SqmFunctionRegistry getCustomSqmFunctionRegistry()
User supplied registry of SQM functions available for use in HQL and CriteriaCan be used in conjunction with
getCustomSqlFunctionMap()
, 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.
-
getJpaCompliance
JpaCompliance getJpaCompliance()
-
getCriteriaValueHandlingMode
ValueHandlingMode getCriteriaValueHandlingMode()
-
isPortableIntegerDivisionEnabled
boolean isPortableIntegerDivisionEnabled()
- See Also:
QuerySettings.PORTABLE_INTEGER_DIVISION
-
-