Uses of Class
org.hibernate.query.spi.QueryEngine
-
Packages that use QueryEngine Package Description org.hibernate.dialect This package abstracts over the multifarious dialects of SQL understood by the databases supported by Hibernate.org.hibernate.dialect.function Contains implementations ofSqmFunctionDescriptor
describing a range of relatively-sophisticated SQL functions available in various dialects.org.hibernate.engine.spi org.hibernate.envers.function org.hibernate.internal An internal package containing implementations of central Hibernate APIs, mostly defined inorg.hibernate
.org.hibernate.procedure.internal Defines the internal support for implementing stored procedure calling.org.hibernate.query.criteria.internal org.hibernate.query.hql.internal org.hibernate.query.internal org.hibernate.query.named Support for named queriesorg.hibernate.query.spi org.hibernate.query.sql.internal org.hibernate.query.sqm org.hibernate.query.sqm.function org.hibernate.query.sqm.internal Package for the SQM-backed Query implementation detailsorg.hibernate.query.sqm.produce.function Package defining support forSqmFunctionDescriptor
handling.org.hibernate.query.sqm.spi SPI-level SQM contractsorg.hibernate.query.sqm.tree.expression -
-
Uses of QueryEngine in org.hibernate.dialect
Methods in org.hibernate.dialect with parameters of type QueryEngine Modifier and Type Method Description void
AbstractHANADialect. initializeFunctionRegistry(QueryEngine queryEngine)
void
AbstractTransactSQLDialect. initializeFunctionRegistry(QueryEngine queryEngine)
void
CockroachDialect. initializeFunctionRegistry(QueryEngine queryEngine)
void
DB2Dialect. initializeFunctionRegistry(QueryEngine queryEngine)
void
DB2iDialect. initializeFunctionRegistry(QueryEngine queryEngine)
void
DB2zDialect. initializeFunctionRegistry(QueryEngine queryEngine)
void
DerbyDialect. initializeFunctionRegistry(QueryEngine queryEngine)
void
Dialect. initializeFunctionRegistry(QueryEngine queryEngine)
Initialize the given registry with any dialect-specific functions.void
H2Dialect. initializeFunctionRegistry(QueryEngine queryEngine)
void
HANAColumnStoreDialect. initializeFunctionRegistry(QueryEngine queryEngine)
void
HSQLDialect. initializeFunctionRegistry(QueryEngine queryEngine)
void
MariaDBDialect. initializeFunctionRegistry(QueryEngine queryEngine)
void
MySQLDialect. initializeFunctionRegistry(QueryEngine queryEngine)
void
OracleDialect. initializeFunctionRegistry(QueryEngine queryEngine)
void
PostgresPlusDialect. initializeFunctionRegistry(QueryEngine queryEngine)
void
PostgreSQLDialect. initializeFunctionRegistry(QueryEngine queryEngine)
void
SpannerDialect. initializeFunctionRegistry(QueryEngine queryEngine)
void
SQLServerDialect. initializeFunctionRegistry(QueryEngine queryEngine)
void
SybaseDialect. initializeFunctionRegistry(QueryEngine queryEngine)
-
Uses of QueryEngine in org.hibernate.dialect.function
Methods in org.hibernate.dialect.function with parameters of type QueryEngine Modifier and Type Method Description protected <T> SelfRenderingSqmFunction<T>
CastStrEmulation. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
protected <T> SelfRenderingSqmFunction<T>
CoalesceIfnullEmulation. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
protected <T> SelfRenderingSqmFunction
ExtractFunction. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
protected <T> SelfRenderingSqmFunction<T>
FormatFunction. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
protected <T> SelfRenderingSqmFunction<T>
InsertSubstringOverlayEmulation. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
protected <T> SelfRenderingSqmFunction<T>
LocatePositionEmulation. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
protected <T> SelfRenderingSqmFunction<T>
LpadRpadPadEmulation. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
protected <T> SelfRenderingSqmFunction<T>
NvlCoalesceEmulation. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
protected <T> SelfRenderingSqmFunction<T>
TransactSQLStrFunction. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
<T> SelfRenderingSqmOrderedSetAggregateFunction<T>
HypotheticalSetWindowEmulation. generateSqmOrderedSetAggregateFunctionExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, SqmOrderByClause withinGroupClause, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
<T> SelfRenderingSqmOrderedSetAggregateFunction<T>
InverseDistributionFunction. generateSqmOrderedSetAggregateFunctionExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, SqmOrderByClause withinGroupClause, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
<T> SelfRenderingSqmOrderedSetAggregateFunction<T>
InverseDistributionWindowEmulation. generateSqmOrderedSetAggregateFunctionExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, SqmOrderByClause withinGroupClause, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
Constructors in org.hibernate.dialect.function with parameters of type QueryEngine Constructor Description CommonFunctionFactory(QueryEngine queryEngine)
FormatSqmFunction(SqmFunctionDescriptor descriptor, FunctionRenderingSupport renderingSupport, List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, ArgumentsValidator argumentsValidator, FunctionReturnTypeResolver returnTypeResolver, boolean supportsPatternLiterals, QueryEngine queryEngine)
SelfRenderingInverseDistributionFunction(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, SqmOrderByClause withinGroupClause, ReturnableType<T> impliedResultType, QueryEngine queryEngine)
-
Uses of QueryEngine in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return QueryEngine Modifier and Type Method Description QueryEngine
SessionFactoryDelegatingImpl. getQueryEngine()
QueryEngine
SessionFactoryImplementor. getQueryEngine()
-
Uses of QueryEngine in org.hibernate.envers.function
Methods in org.hibernate.envers.function with parameters of type QueryEngine Modifier and Type Method Description protected <T> SelfRenderingSqmFunction<T>
OrderByFragmentFunction. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
-
Uses of QueryEngine in org.hibernate.internal
Methods in org.hibernate.internal that return QueryEngine Modifier and Type Method Description QueryEngine
SessionFactoryImpl. getQueryEngine()
-
Uses of QueryEngine in org.hibernate.procedure.internal
Methods in org.hibernate.procedure.internal with parameters of type QueryEngine Modifier and Type Method Description void
NamedCallableQueryMementoImpl. validate(QueryEngine queryEngine)
-
Uses of QueryEngine in org.hibernate.query.criteria.internal
Methods in org.hibernate.query.criteria.internal with parameters of type QueryEngine Modifier and Type Method Description void
NamedCriteriaQueryMementoImpl. validate(QueryEngine queryEngine)
-
Uses of QueryEngine in org.hibernate.query.hql.internal
Methods in org.hibernate.query.hql.internal with parameters of type QueryEngine Modifier and Type Method Description void
NamedHqlQueryMementoImpl. validate(QueryEngine queryEngine)
-
Uses of QueryEngine in org.hibernate.query.internal
Methods in org.hibernate.query.internal with parameters of type QueryEngine Modifier and Type Method Description Map<String,HibernateException>
NamedObjectRepositoryImpl. checkNamedQueries(QueryEngine queryEngine)
-
Uses of QueryEngine in org.hibernate.query.named
Methods in org.hibernate.query.named with parameters of type QueryEngine Modifier and Type Method Description Map<String,HibernateException>
NamedObjectRepository. checkNamedQueries(QueryEngine queryPlanCache)
Perform a validity check on all named queriesvoid
NamedQueryMemento. validate(QueryEngine queryEngine)
-
Uses of QueryEngine in org.hibernate.query.spi
Methods in org.hibernate.query.spi that return QueryEngine Modifier and Type Method Description static QueryEngine
QueryEngine. from(SessionFactoryImplementor sessionFactory, MetadataImplementor metadata)
-
Uses of QueryEngine in org.hibernate.query.sql.internal
Methods in org.hibernate.query.sql.internal with parameters of type QueryEngine Modifier and Type Method Description void
NamedNativeQueryMementoImpl. validate(QueryEngine queryEngine)
-
Uses of QueryEngine in org.hibernate.query.sqm
Methods in org.hibernate.query.sqm that return QueryEngine Modifier and Type Method Description QueryEngine
NodeBuilder. getQueryEngine()
-
Uses of QueryEngine in org.hibernate.query.sqm.function
Methods in org.hibernate.query.sqm.function with parameters of type QueryEngine Modifier and Type Method Description <T> SelfRenderingSqmFunction<T>
AbstractSqmFunctionDescriptor. generateAggregateSqmExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
default <T> SelfRenderingSqmFunction<T>
SqmFunctionDescriptor. generateAggregateSqmExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
LikeSqmFunctionDescriptor.generateSqmExpression(List, ReturnableType, QueryEngine, TypeConfiguration)
but also accepts a filter predicate.<T> SelfRenderingSqmFunction<T>
AbstractSqmFunctionDescriptor. generateOrderedSetAggregateSqmExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, SqmOrderByClause withinGroupClause, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
default <T> SelfRenderingSqmFunction<T>
SqmFunctionDescriptor. generateOrderedSetAggregateSqmExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, SqmOrderByClause withinGroupClause, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
LikeSqmFunctionDescriptor.generateSqmExpression(List, ReturnableType, QueryEngine, TypeConfiguration)
but also accepts a filter predicate.protected <T> SelfRenderingSqmAggregateFunction<T>
AbstractSqmFunctionDescriptor. generateSqmAggregateFunctionExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
Return an SQM node or subtree representing an invocation of this aggregate function with the given arguments.<T> SelfRenderingSqmAggregateFunction<T>
AbstractSqmSelfRenderingFunctionDescriptor. generateSqmAggregateFunctionExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
<T> SelfRenderingSqmFunction<T>
AbstractSqmFunctionDescriptor. generateSqmExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
<T> SelfRenderingSqmFunction<T>
SqmFunctionDescriptor. generateSqmExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
Instantiate this template with the given arguments and expected return type.default <T> SelfRenderingSqmFunction<T>
SqmFunctionDescriptor. generateSqmExpression(ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
Convenience for no argumentsdefault <T> SelfRenderingSqmFunction<T>
SqmFunctionDescriptor. generateSqmExpression(SqmTypedNode<?> argument, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
Convenience for single argumentprotected abstract <T> SelfRenderingSqmFunction<T>
AbstractSqmFunctionDescriptor. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
Return an SQM node or subtree representing an invocation of this function with the given arguments.protected <T> SelfRenderingSqmFunction<T>
AbstractSqmSelfRenderingFunctionDescriptor. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
protected <T> SelfRenderingSqmFunction<T>
JdbcEscapeFunctionDescriptor. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
protected <T> SelfRenderingSqmFunction<T>
MultipatternSqmFunctionDescriptor. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
protected <T> SelfRenderingSqmAggregateFunction<T>
AbstractSqmFunctionDescriptor. generateSqmOrderedSetAggregateFunctionExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, SqmOrderByClause withinGroupClause, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
Return an SQM node or subtree representing an invocation of this ordered set-aggregate function with the given arguments.<T> SelfRenderingSqmOrderedSetAggregateFunction<T>
AbstractSqmSelfRenderingFunctionDescriptor. generateSqmOrderedSetAggregateFunctionExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, SqmOrderByClause withinGroupClause, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
protected <T> SelfRenderingSqmWindowFunction<T>
AbstractSqmFunctionDescriptor. generateSqmWindowFunctionExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, Boolean respectNulls, Boolean fromFirst, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
Return an SQM node or subtree representing an invocation of this window function with the given arguments.protected <T> SelfRenderingSqmWindowFunction<T>
AbstractSqmSelfRenderingFunctionDescriptor. generateSqmWindowFunctionExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, Boolean respectNulls, Boolean fromFirst, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
<T> SelfRenderingSqmFunction<T>
AbstractSqmFunctionDescriptor. generateWindowSqmExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, Boolean respectNulls, Boolean fromFirst, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
default <T> SelfRenderingSqmFunction<T>
SqmFunctionDescriptor. generateWindowSqmExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, Boolean respectNulls, Boolean fromFirst, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)
LikeSqmFunctionDescriptor.generateSqmExpression(List, ReturnableType, QueryEngine, TypeConfiguration)
but also accepts a filter predicate. -
Uses of QueryEngine in org.hibernate.query.sqm.internal
Methods in org.hibernate.query.sqm.internal that return QueryEngine Modifier and Type Method Description QueryEngine
SqmCriteriaNodeBuilder. getQueryEngine()
Constructors in org.hibernate.query.sqm.internal with parameters of type QueryEngine Constructor Description SqmCriteriaNodeBuilder(String uuid, String name, boolean jpaComplianceEnabled, QueryEngine queryEngine, Supplier<JpaMetamodelImplementor> domainModelAccess, ServiceRegistry serviceRegistry, ValueHandlingMode criteriaValueHandlingMode)
-
Uses of QueryEngine in org.hibernate.query.sqm.produce.function
Methods in org.hibernate.query.sqm.produce.function with parameters of type QueryEngine Modifier and Type Method Description void
ArgumentsValidator. validate(List<? extends SqmTypedNode<?>> arguments, String functionName, QueryEngine queryEngine)
Perform validation that may be done using theSqmTypedNode
tree and assigned Java types.void
ArgumentTypesValidator. validate(List<? extends SqmTypedNode<?>> arguments, String functionName, QueryEngine queryEngine)
We do an initial validation phase with just the SQM tree, even though we don't have all typing information available here (in particular, we don't have the final JDBC type codes for things with converters) because this is the phase that is run at startup for named queries, and can be done in an IDE. -
Uses of QueryEngine in org.hibernate.query.sqm.spi
Methods in org.hibernate.query.sqm.spi that return QueryEngine Modifier and Type Method Description QueryEngine
SqmCreationContext. getQueryEngine()
-
Uses of QueryEngine in org.hibernate.query.sqm.tree.expression
Methods in org.hibernate.query.sqm.tree.expression with parameters of type QueryEngine Modifier and Type Method Description static SqmLiteral<Integer>
SqmExpressionHelper. integerLiteral(int value, QueryEngine queryEngine)
static SqmLiteral<Integer>
SqmExpressionHelper. integerLiteral(String literalText, QueryEngine queryEngine)
-