Uses of Class
org.hibernate.sql.ast.tree.select.SelectStatement
Packages that use SelectStatement
Package
Description
This package abstracts over the multifarious dialects of SQL
understood by the databases supported by Hibernate.
This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
Support for multi-table SQM mutation (insert, update, delete) operations using
a table to temporarily hold the matching ids.
Package for the translation of SQM into SQL AST
Package defining a SQL AST for use in generation of SQL.
Package defining support for creating and consuming a SQL AST.
AST nodes representing expressions in a SQL tree.
AST nodes representing root tables and joins in a SQL tree.
AST nodes representing logical predicates in a SQL tree.
-
Uses of SelectStatement in org.hibernate.dialect
Methods in org.hibernate.dialect with parameters of type SelectStatementModifier and TypeMethodDescriptionvoid
DB2SqlAstTranslator.visitSelectStatement
(SelectStatement statement) -
Uses of SelectStatement in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi with parameters of type SelectStatementModifier and TypeMethodDescriptionSubselectFetch.createRegistrationHandler
(BatchFetchQueue batchFetchQueue, SelectStatement sqlAst, TableGroup tableGroup, JdbcParametersList jdbcParameters, JdbcParameterBindings jdbcParameterBindings) SubselectFetch.createRegistrationHandler
(BatchFetchQueue batchFetchQueue, SelectStatement sqlAst, JdbcParametersList jdbcParameters, JdbcParameterBindings jdbcParameterBindings) -
Uses of SelectStatement in org.hibernate.loader.ast.internal
Methods in org.hibernate.loader.ast.internal that return SelectStatementModifier and TypeMethodDescriptionstatic SelectStatement
LoaderSelectBuilder.createSelect
(Loadable loadable, List<? extends ModelPart> partsToSelect, List<ModelPart> restrictedParts, DomainResult<?> cachedDomainResult, int numberOfKeysToLoad, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer, SessionFactoryImplementor sessionFactory) static SelectStatement
LoaderSelectBuilder.createSelect
(Loadable loadable, List<? extends ModelPart> partsToSelect, ModelPart restrictedPart, DomainResult<?> cachedDomainResult, int numberOfKeysToLoad, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer, SessionFactoryImplementor sessionFactory) Create an SQL AST select-statement based on matching one-or-more keysstatic SelectStatement
LoaderSelectBuilder.createSelectBySingleArrayParameter
(Loadable loadable, ValuedModelPart restrictedPart, LoadQueryInfluencers influencers, LockOptions lockOptions, JdbcParameter jdbcArrayParameter, SessionFactoryImplementor sessionFactory) Create a select-statement (SQL AST) for loading by multiple keys using a single SQL ARRAY parameterstatic SelectStatement
LoaderSelectBuilder.createSelectByUniqueKey
(Loadable loadable, List<? extends ModelPart> partsToSelect, ModelPart restrictedPart, DomainResult<?> cachedDomainResult, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer, SessionFactoryImplementor sessionFactory) Create an SQL AST select-statement for loading by unique keystatic SelectStatement
LoaderSelectBuilder.createSubSelectFetchSelect
(PluralAttributeMapping attributeMapping, SubselectFetch subselect, DomainResult<?> cachedDomainResult, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer, SessionFactoryImplementor sessionFactory) Create an SQL AST select-statement used for subselect-based CollectionLoaderCollectionElementLoaderByIndex.getSqlAst()
CollectionLoaderSingleKey.getSqlAst()
protected SelectStatement
CollectionLoaderSubSelectFetch.getSqlAst()
Methods in org.hibernate.loader.ast.internal with parameters of type SelectStatementModifier and TypeMethodDescriptionstatic <R,
K> List<R> LoaderHelper.loadByArrayParameter
(K[] idsToInitialize, SelectStatement sqlAst, JdbcOperationQuerySelect jdbcOperation, JdbcParameter jdbcParameter, JdbcMapping arrayJdbcMapping, Object entityId, Object entityInstance, EntityMappingType rootEntityDescriptor, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session) Load one or more instances of a model part (an entity or collection) based on a SQL ARRAY parameter to specify the keys (as opposed to the more traditional SQL IN predicate approach).Constructors in org.hibernate.loader.ast.internal with parameters of type SelectStatementModifierConstructorDescriptionMultiKeyLoadChunker
(int chunkSize, int keyColumnCount, Bindable bindable, JdbcParametersList jdbcParameters, SelectStatement sqlAst, JdbcOperationQuerySelect jdbcSelect) SingleIdArrayLoadPlan
(EntityMappingType entityMappingType, ModelPart restrictivePart, SelectStatement sqlAst, JdbcParametersList jdbcParameters, LockOptions lockOptions, SessionFactoryImplementor sessionFactory) SingleIdLoadPlan
(EntityMappingType entityMappingType, ModelPart restrictivePart, SelectStatement sqlAst, JdbcParametersList jdbcParameters, LockOptions lockOptions, SessionFactoryImplementor sessionFactory) -
Uses of SelectStatement in org.hibernate.metamodel.mapping.internal
Methods in org.hibernate.metamodel.mapping.internal that return SelectStatement -
Uses of SelectStatement in org.hibernate.query.sqm.mutation.internal
Methods in org.hibernate.query.sqm.mutation.internal that return SelectStatementModifier and TypeMethodDescriptionstatic SelectStatement
MatchingIdSelectionHelper.generateMatchingIdSelectStatement
(EntityMappingType targetEntityDescriptor, SqmDeleteOrUpdateStatement<?> sqmStatement, boolean queryRoot, Predicate restriction, MultiTableSqmMutationConverter sqmConverter, DomainQueryExecutionContext executionContext) -
Uses of SelectStatement in org.hibernate.query.sqm.mutation.internal.temptable
Methods in org.hibernate.query.sqm.mutation.internal.temptable with parameters of type SelectStatementModifier and TypeMethodDescriptionvoid
ColumnReferenceCheckingSqlAstWalker.visitSelectStatement
(SelectStatement statement) -
Uses of SelectStatement in org.hibernate.query.sqm.sql
Methods in org.hibernate.query.sqm.sql that return SelectStatementModifier and TypeMethodDescriptionBaseSqmToSqlAstConverter.visitSelectStatement
(SqmSelectStatement<?> statement) BaseSqmToSqlAstConverter.visitSubQueryExpression
(SqmSubQuery<?> sqmSubQuery) Methods in org.hibernate.query.sqm.sql that return types with arguments of type SelectStatementModifier and TypeMethodDescriptionSqmTranslatorFactory.createSelectTranslator
(SqmSelectStatement<?> sqmSelectStatement, QueryOptions queryOptions, DomainParameterXref domainParameterXref, QueryParameterBindings domainParameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext, boolean deduplicateSelectionItems) StandardSqmTranslatorFactory.createSelectTranslator
(SqmSelectStatement<?> sqmSelectStatement, QueryOptions queryOptions, DomainParameterXref domainParameterXref, QueryParameterBindings domainParameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext, boolean deduplicateSelectionItems) -
Uses of SelectStatement in org.hibernate.sql.ast
Methods in org.hibernate.sql.ast with parameters of type SelectStatementModifier and TypeMethodDescriptionSqlAstTranslatorFactory.buildSelectTranslator
(SessionFactoryImplementor sessionFactory, SelectStatement statement) Builds a single-use select translatorvoid
SqlAstWalker.visitSelectStatement
(SelectStatement statement) -
Uses of SelectStatement in org.hibernate.sql.ast.spi
Methods in org.hibernate.sql.ast.spi with parameters of type SelectStatementModifier and TypeMethodDescriptionStandardSqlAstTranslatorFactory.buildSelectTranslator
(SessionFactoryImplementor sessionFactory, SelectStatement statement) protected void
AbstractSqlAstTranslator.emulateQuantifiedTupleSubQueryPredicate
(Predicate predicate, SelectStatement selectStatement, SqlTuple lhsTuple, ComparisonOperator tupleComparisonOperator) An optimized emulation for relational tuple sub-query comparisons.protected <X extends Expression>
voidAbstractSqlAstTranslator.emulateSubQueryRelationalRestrictionPredicate
(Predicate predicate, boolean negated, SelectStatement selectStatement, X lhsTuple, AbstractSqlAstTranslator.SubQueryRelationalRestrictionEmulationRenderer<X> renderer, ComparisonOperator tupleComparisonOperator) protected int
AbstractSqlAstTranslator.getMaxRows
(SelectStatement sqlAstSelect, JdbcParameterBindings jdbcParameterBindings, int rowsToSkip) protected int
AbstractSqlAstTranslator.getRowsToSkip
(SelectStatement sqlAstSelect, JdbcParameterBindings jdbcParameterBindings) protected JdbcOperationQuerySelect
AbstractSqlAstTranslator.translateSelect
(SelectStatement selectStatement) void
AbstractSqlAstTranslator.visitSelectStatement
(SelectStatement statement) void
AbstractSqlAstWalker.visitSelectStatement
(SelectStatement statement) void
AggregateFunctionChecker.visitSelectStatement
(SelectStatement statement) void
ExpressionReplacementWalker.visitSelectStatement
(SelectStatement statement) -
Uses of SelectStatement in org.hibernate.sql.ast.tree.expression
Methods in org.hibernate.sql.ast.tree.expression that return SelectStatementModifier and TypeMethodDescriptionAny.getSubquery()
Every.getSubquery()
ModifiedSubQueryExpression.getSubQuery()
Constructors in org.hibernate.sql.ast.tree.expression with parameters of type SelectStatementModifierConstructorDescriptionAny
(SelectStatement subquery, MappingModelExpressible<?> type) Every
(SelectStatement subquery, MappingModelExpressible<?> type) ModifiedSubQueryExpression
(SelectStatement subQuery, ModifiedSubQueryExpression.Modifier modifier) -
Uses of SelectStatement in org.hibernate.sql.ast.tree.from
Methods in org.hibernate.sql.ast.tree.from that return SelectStatementConstructors in org.hibernate.sql.ast.tree.from with parameters of type SelectStatementModifierConstructorDescriptionQueryPartTableGroup
(NavigablePath navigablePath, TableGroupProducer tableGroupProducer, SelectStatement selectStatement, String sourceAlias, List<String> columnNames, boolean lateral, boolean canUseInnerJoins, SessionFactoryImplementor sessionFactory) QueryPartTableGroup
(NavigablePath navigablePath, TableGroupProducer tableGroupProducer, SelectStatement selectStatement, String sourceAlias, List<String> columnNames, Set<String> compatibleTableExpressions, boolean lateral, boolean canUseInnerJoins, SessionFactoryImplementor sessionFactory) QueryPartTableReference
(SelectStatement selectStatement, String identificationVariable, List<String> columnNames, boolean lateral, SessionFactoryImplementor sessionFactory) -
Uses of SelectStatement in org.hibernate.sql.ast.tree.predicate
Methods in org.hibernate.sql.ast.tree.predicate that return SelectStatementModifier and TypeMethodDescriptionExistsPredicate.getExpression()
InSubQueryPredicate.getSubQuery()
Constructors in org.hibernate.sql.ast.tree.predicate with parameters of type SelectStatementModifierConstructorDescriptionExistsPredicate
(SelectStatement expression, boolean negated, JdbcMappingContainer expressionType) InSubQueryPredicate
(Expression testExpression, SelectStatement subQuery, boolean negated, JdbcMappingContainer expressionType) -
Uses of SelectStatement in org.hibernate.sql.results.jdbc.internal
Methods in org.hibernate.sql.results.jdbc.internal with parameters of type SelectStatementModifier and TypeMethodDescriptionJdbcValuesMappingProducerProviderStandard.buildMappingProducer
(SelectStatement sqlAst, SessionFactoryImplementor sessionFactory) -
Uses of SelectStatement in org.hibernate.sql.results.jdbc.spi
Methods in org.hibernate.sql.results.jdbc.spi with parameters of type SelectStatementModifier and TypeMethodDescriptionJdbcValuesMappingProducerProvider.buildMappingProducer
(SelectStatement sqlAst, SessionFactoryImplementor sessionFactory) Provide the JdbcValuesMappingProducer to use for the given SQL AST