Uses of Class
org.hibernate.sql.ast.tree.select.QuerySpec
-
Packages that use QuerySpec 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 This package defines some central internal SPI abstractions used throughout the implementation of Hibernate.org.hibernate.metamodel.mapping.internal org.hibernate.metamodel.mapping.ordering Support for set and map orderingorg.hibernate.metamodel.mapping.ordering.ast org.hibernate.query.sqm.mutation.internal org.hibernate.query.sqm.mutation.internal.cte org.hibernate.query.sqm.mutation.internal.temptable Support for multi-table SQM mutation (insert, update, delete) operations using a table to temporarily hold the matching ids.org.hibernate.query.sqm.sql Package for the translation of SQM into SQL ASTorg.hibernate.sql.ast Package defining a SQL AST for use in generation of SQL.org.hibernate.sql.ast.spi Package defining support for creating and consuming a SQL AST.org.hibernate.sql.ast.tree.expression AST nodes representing expressions in a SQL tree.org.hibernate.sql.ast.tree.from AST nodes representing root tables and joins in a SQL tree.org.hibernate.sql.ast.tree.select AST nodes representingselect
statements in a SQL tree. -
-
Uses of QuerySpec in org.hibernate.dialect
Methods in org.hibernate.dialect that return QuerySpec Modifier and Type Method Description QuerySpec
SybaseSqmToSqlAstConverter. visitQuerySpec(SqmQuerySpec<?> sqmQuerySpec)
Methods in org.hibernate.dialect with parameters of type QuerySpec Modifier and Type Method Description protected AbstractSqlAstTranslator.LockStrategy
OracleSqlAstTranslator. determineLockingStrategy(QuerySpec querySpec, AbstractSqlAstTranslator.ForUpdateClause forUpdateClause, Boolean followOnLocking)
protected AbstractSqlAstTranslator.LockStrategy
SpannerSqlAstTranslator. determineLockingStrategy(QuerySpec querySpec, AbstractSqlAstTranslator.ForUpdateClause forUpdateClause, Boolean followOnLocking)
protected AbstractSqlAstTranslator.LockStrategy
SQLServerSqlAstTranslator. determineLockingStrategy(QuerySpec querySpec, AbstractSqlAstTranslator.ForUpdateClause forUpdateClause, Boolean followOnLocking)
protected AbstractSqlAstTranslator.LockStrategy
SybaseASESqlAstTranslator. determineLockingStrategy(QuerySpec querySpec, AbstractSqlAstTranslator.ForUpdateClause forUpdateClause, Boolean followOnLocking)
protected AbstractSqlAstTranslator.LockStrategy
SybaseSqlAstTranslator. determineLockingStrategy(QuerySpec querySpec, AbstractSqlAstTranslator.ForUpdateClause forUpdateClause, Boolean followOnLocking)
protected void
SpannerSqlAstTranslator. renderForUpdateClause(QuerySpec querySpec, AbstractSqlAstTranslator.ForUpdateClause forUpdateClause)
protected void
SQLServerSqlAstTranslator. renderForUpdateClause(QuerySpec querySpec, AbstractSqlAstTranslator.ForUpdateClause forUpdateClause)
protected void
SybaseASESqlAstTranslator. renderForUpdateClause(QuerySpec querySpec, AbstractSqlAstTranslator.ForUpdateClause forUpdateClause)
protected void
SybaseSqlAstTranslator. renderForUpdateClause(QuerySpec querySpec, AbstractSqlAstTranslator.ForUpdateClause forUpdateClause)
void
CockroachSqlAstTranslator. visitQuerySpec(QuerySpec querySpec)
void
DB2SqlAstTranslator. visitQuerySpec(QuerySpec querySpec)
void
HANASqlAstTranslator. visitQuerySpec(QuerySpec querySpec)
void
MariaDBSqlAstTranslator. visitQuerySpec(QuerySpec querySpec)
void
MySQLSqlAstTranslator. visitQuerySpec(QuerySpec querySpec)
void
OracleSqlAstTranslator. visitQuerySpec(QuerySpec querySpec)
void
PostgreSQLSqlAstTranslator. visitQuerySpec(QuerySpec querySpec)
void
SQLServerSqlAstTranslator. visitQuerySpec(QuerySpec querySpec)
void
TiDBSqlAstTranslator. visitQuerySpec(QuerySpec querySpec)
-
Uses of QuerySpec in org.hibernate.dialect.function
Methods in org.hibernate.dialect.function that return QuerySpec Modifier and Type Method Description QuerySpec
AggregateWindowEmulationQueryTransformer. transform(CteContainer cteContainer, QuerySpec querySpec, SqmToSqlAstConverter converter)
Methods in org.hibernate.dialect.function with parameters of type QuerySpec Modifier and Type Method Description QuerySpec
AggregateWindowEmulationQueryTransformer. transform(CteContainer cteContainer, QuerySpec querySpec, SqmToSqlAstConverter converter)
-
Uses of QuerySpec in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return QuerySpec Modifier and Type Method Description QuerySpec
SubselectFetch. getLoadingSqlAst()
The SQL AST select from which the owner was loadedConstructors in org.hibernate.engine.spi with parameters of type QuerySpec Constructor Description SubselectFetch(QuerySpec loadingSqlAst, TableGroup ownerTableGroup, JdbcParametersList loadingJdbcParameters, JdbcParameterBindings loadingJdbcParameterBindings, Set<EntityKey> resultingEntityKeys)
-
Uses of QuerySpec in org.hibernate.metamodel.mapping.internal
Methods in org.hibernate.metamodel.mapping.internal with parameters of type QuerySpec Modifier and Type Method Description void
AbstractDomainPath. apply(ModelPart referenceModelPart, QuerySpec ast, TableGroup tableGroup, String collation, String modelPartName, SortDirection sortOrder, NullPrecedence nullPrecedence, SqlAstCreationState creationState)
void
AbstractDomainPath. apply(QuerySpec ast, TableGroup tableGroup, String collation, String modelPartName, SortDirection sortOrder, NullPrecedence nullPrecedence, SqlAstCreationState creationState)
Expression
AbstractDomainPath. resolve(ModelPart referenceModelPart, QuerySpec ast, TableGroup tableGroup, String modelPartName, SqlAstCreationState creationState)
SqlAstNode
AbstractDomainPath. resolve(QuerySpec ast, TableGroup tableGroup, String modelPartName, SqlAstCreationState creationState)
-
Uses of QuerySpec in org.hibernate.metamodel.mapping.ordering
Methods in org.hibernate.metamodel.mapping.ordering with parameters of type QuerySpec Modifier and Type Method Description void
OrderByFragment. apply(QuerySpec ast, TableGroup tableGroup, SqlAstCreationState creationState)
Apply the ordering to the given SQL ASTvoid
OrderByFragmentImpl. apply(QuerySpec ast, TableGroup tableGroup, SqlAstCreationState creationState)
-
Uses of QuerySpec in org.hibernate.metamodel.mapping.ordering.ast
Methods in org.hibernate.metamodel.mapping.ordering.ast with parameters of type QuerySpec Modifier and Type Method Description void
ColumnReference. apply(QuerySpec ast, TableGroup tableGroup, String collation, String modelPartName, SortDirection sortOrder, NullPrecedence nullPrecedence, SqlAstCreationState creationState)
void
FunctionExpression. apply(QuerySpec ast, TableGroup tableGroup, String collation, String modelPartName, SortDirection sortOrder, NullPrecedence nullPrecedence, SqlAstCreationState creationState)
void
OrderingExpression. apply(QuerySpec ast, TableGroup tableGroup, String collation, String modelPartName, SortDirection sortOrder, NullPrecedence nullPrecedence, SqlAstCreationState creationState)
Apply the SQL AST sort-specifications associated with this ordering-expressionvoid
SelfRenderingOrderingExpression. apply(QuerySpec ast, TableGroup tableGroup, String collation, String modelPartName, SortDirection sortOrder, NullPrecedence nullPrecedence, SqlAstCreationState creationState)
Expression
ColumnReference. resolve(QuerySpec ast, TableGroup tableGroup, String modelPartName, SqlAstCreationState creationState)
SelfRenderingFunctionSqlAstExpression
FunctionExpression. resolve(QuerySpec ast, TableGroup tableGroup, String modelPartName, SqlAstCreationState creationState)
SqlAstNode
OrderingExpression. resolve(QuerySpec ast, TableGroup tableGroup, String modelPartName, SqlAstCreationState creationState)
Expression
SelfRenderingOrderingExpression. resolve(QuerySpec ast, TableGroup tableGroup, String modelPartName, SqlAstCreationState creationState)
-
Uses of QuerySpec in org.hibernate.query.sqm.mutation.internal
Methods in org.hibernate.query.sqm.mutation.internal that return QuerySpec Modifier and Type Method Description static QuerySpec
MatchingIdSelectionHelper. generateMatchingIdSelectQuery(EntityMappingType targetEntityDescriptor, SqmDeleteOrUpdateStatement sqmStatement, DomainParameterXref domainParameterXref, Predicate restriction, MultiTableSqmMutationConverter sqmConverter, SessionFactoryImplementor sessionFactory)
Methods in org.hibernate.query.sqm.mutation.internal with parameters of type QuerySpec Modifier and Type Method Description static Expression
SqmInsertStrategyHelper. createRowNumberingExpression(QuerySpec querySpec, SessionFactoryImplementor sessionFactory)
Creates a row numbering expression, that can be added to the select clause of the query spec. -
Uses of QuerySpec in org.hibernate.query.sqm.mutation.internal.cte
Methods in org.hibernate.query.sqm.mutation.internal.cte that return QuerySpec Modifier and Type Method Description protected QuerySpec
AbstractCteMutationHandler. createIdSubQuery(CteStatement idSelectCte, ModelPart fkModelPart, SessionFactoryImplementor factory)
-
Uses of QuerySpec in org.hibernate.query.sqm.mutation.internal.temptable
Methods in org.hibernate.query.sqm.mutation.internal.temptable that return QuerySpec Modifier and Type Method Description protected QuerySpec
UpdateExecutionDelegate. createExistsSubQuerySpec(String targetTableExpression, Supplier<Consumer<SelectableConsumer>> tableKeyColumnVisitationSupplier, QuerySpec idTableSubQuery)
static QuerySpec
ExecuteWithoutIdTableHelper. createIdMatchingSubQuerySpec(NavigablePath navigablePath, TableReference rootTableReference, Predicate predicate, EntityPersister rootEntityPersister, SqlExpressionResolver sqlExpressionResolver, SessionFactoryImplementor sessionFactory)
static QuerySpec
ExecuteWithTemporaryTableHelper. createIdTableSelectQuerySpec(TemporaryTable idTable, Function<SharedSessionContractImplementor,String> sessionUidAccess, EntityMappingType entityDescriptor, ExecutionContext executionContext)
static QuerySpec
ExecuteWithTemporaryTableHelper. createIdTableSelectQuerySpec(TemporaryTable idTable, ModelPart fkModelPart, Function<SharedSessionContractImplementor,String> sessionUidAccess, EntityMappingType entityDescriptor, ExecutionContext executionContext)
protected static QuerySpec
UpdateExecutionDelegate. makeInsertSourceSelectQuerySpec(QuerySpec idTableSubQuery)
Methods in org.hibernate.query.sqm.mutation.internal.temptable with parameters of type QuerySpec Modifier and Type Method Description protected QuerySpec
UpdateExecutionDelegate. createExistsSubQuerySpec(String targetTableExpression, Supplier<Consumer<SelectableConsumer>> tableKeyColumnVisitationSupplier, QuerySpec idTableSubQuery)
protected static QuerySpec
UpdateExecutionDelegate. makeInsertSourceSelectQuerySpec(QuerySpec idTableSubQuery)
-
Uses of QuerySpec in org.hibernate.query.sqm.sql
Methods in org.hibernate.query.sqm.sql that return QuerySpec Modifier and Type Method Description QuerySpec
BaseSqmToSqlAstConverter. visitQuerySpec(SqmQuerySpec<?> sqmQuerySpec)
Methods in org.hibernate.query.sqm.sql with parameters of type QuerySpec Modifier and Type Method Description boolean
BaseSqmToSqlAstConverter.AdditionalInsertValues. applySelections(QuerySpec querySpec, SessionFactoryImplementor sessionFactory)
Returns true if the identifier can't be applied directly and needs to be generated separately. -
Uses of QuerySpec in org.hibernate.sql.ast
Methods in org.hibernate.sql.ast with parameters of type QuerySpec Modifier and Type Method Description void
SqlAstWalker. visitQuerySpec(QuerySpec querySpec)
-
Uses of QuerySpec in org.hibernate.sql.ast.spi
Methods in org.hibernate.sql.ast.spi with parameters of type QuerySpec Modifier and Type Method Description void
AbstractSqlAstTranslator.ForUpdateClause. applyAliases(RowLockStrategy lockIdentifier, QuerySpec querySpec)
protected AbstractSqlAstTranslator.LockStrategy
AbstractSqlAstTranslator. determineLockingStrategy(QuerySpec querySpec, AbstractSqlAstTranslator.ForUpdateClause forUpdateClause, Boolean followOnLocking)
protected boolean
AbstractSqlAstTranslator. hasAggregateFunctions(QuerySpec querySpec)
static boolean
AggregateFunctionChecker. hasAggregateFunctions(QuerySpec querySpec)
protected boolean
AbstractSqlAstTranslator. needsLocking(QuerySpec querySpec)
protected void
AbstractSqlAstTranslator. renderFirstClause(QuerySpec querySpec)
protected void
AbstractSqlAstTranslator. renderFirstSkipClause(QuerySpec querySpec)
protected void
AbstractSqlAstTranslator. renderForUpdateClause(QuerySpec querySpec, AbstractSqlAstTranslator.ForUpdateClause forUpdateClause)
protected void
AbstractSqlAstTranslator. renderRowsToClause(QuerySpec querySpec)
protected void
AbstractSqlAstTranslator. renderSkipFirstClause(QuerySpec querySpec)
protected void
AbstractSqlAstTranslator. renderTopClause(QuerySpec querySpec, boolean addOffset, boolean needsParenthesis)
protected void
AbstractSqlAstTranslator. renderTopStartAtClause(QuerySpec querySpec)
protected void
AbstractSqlAstTranslator. visitForUpdateClause(QuerySpec querySpec)
protected void
AbstractSqlAstTranslator. visitGroupByClause(QuerySpec querySpec, SelectItemReferenceStrategy referenceStrategy)
protected void
AbstractSqlAstTranslator. visitHavingClause(QuerySpec querySpec)
void
AbstractSqlAstTranslator. visitQuerySpec(QuerySpec querySpec)
void
AbstractSqlAstWalker. visitQuerySpec(QuerySpec querySpec)
void
AggregateFunctionChecker. visitQuerySpec(QuerySpec querySpec)
void
ExpressionReplacementWalker. visitQuerySpec(QuerySpec querySpec)
-
Uses of QuerySpec in org.hibernate.sql.ast.tree.expression
Methods in org.hibernate.sql.ast.tree.expression that return QuerySpec Modifier and Type Method Description QuerySpec
QueryTransformer. transform(CteContainer cteContainer, QuerySpec querySpec, SqmToSqlAstConverter converter)
Methods in org.hibernate.sql.ast.tree.expression with parameters of type QuerySpec Modifier and Type Method Description QuerySpec
QueryTransformer. transform(CteContainer cteContainer, QuerySpec querySpec, SqmToSqlAstConverter converter)
-
Uses of QuerySpec in org.hibernate.sql.ast.tree.from
Constructors in org.hibernate.sql.ast.tree.from with parameters of type QuerySpec Constructor Description CorrelatedPluralTableGroup(TableGroup correlatedTableGroup, SqlAliasBase sqlAliasBase, QuerySpec querySpec, Consumer<Predicate> joinPredicateConsumer, SessionFactoryImplementor sessionFactory)
CorrelatedTableGroup(TableGroup correlatedTableGroup, SqlAliasBase sqlAliasBase, QuerySpec querySpec, Consumer<Predicate> joinPredicateConsumer, SessionFactoryImplementor sessionFactory)
-
Uses of QuerySpec in org.hibernate.sql.ast.tree.select
Methods in org.hibernate.sql.ast.tree.select that return QuerySpec Modifier and Type Method Description QuerySpec
QuerySpec. asRootQuery()
QuerySpec
QuerySpec. asSubQuery()
QuerySpec
QueryGroup. getFirstQuerySpec()
abstract QuerySpec
QueryPart. getFirstQuerySpec()
QuerySpec
QuerySpec. getFirstQuerySpec()
QuerySpec
QueryGroup. getLastQuerySpec()
abstract QuerySpec
QueryPart. getLastQuerySpec()
QuerySpec
QuerySpec. getLastQuerySpec()
QuerySpec
SelectStatement. getQuerySpec()
Method parameters in org.hibernate.sql.ast.tree.select with type arguments of type QuerySpec Modifier and Type Method Description <T> T
QueryGroup. queryQuerySpecs(Function<QuerySpec,T> querySpecConsumer)
abstract <T> T
QueryPart. queryQuerySpecs(Function<QuerySpec,T> querySpecConsumer)
<T> T
QuerySpec. queryQuerySpecs(Function<QuerySpec,T> querySpecConsumer)
void
QueryGroup. visitQuerySpecs(Consumer<QuerySpec> querySpecConsumer)
abstract void
QueryPart. visitQuerySpecs(Consumer<QuerySpec> querySpecConsumer)
void
QuerySpec. visitQuerySpecs(Consumer<QuerySpec> querySpecConsumer)
-