Uses of Class
org.hibernate.sql.ast.tree.select.SelectStatement
-
Packages that use SelectStatement Package Description org.hibernate.dialect This package abstracts over the multifarious dialects of SQL understood by the databases supported by Hibernate.org.hibernate.engine.spi This package defines some central internal SPI abstractions used throughout the implementation of Hibernate.org.hibernate.loader.ast.internal org.hibernate.metamodel.mapping.internal org.hibernate.query.sqm.mutation.internal 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.predicate AST nodes representing logical predicates in a SQL tree.org.hibernate.sql.results.jdbc.internal org.hibernate.sql.results.jdbc.spi -
-
Uses of SelectStatement in org.hibernate.dialect
Methods in org.hibernate.dialect with parameters of type SelectStatement Modifier and Type Method Description voidDB2SqlAstTranslator. visitSelectStatement(SelectStatement statement) -
Uses of SelectStatement in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi with parameters of type SelectStatement Modifier and Type Method Description static SubselectFetch.RegistrationHandlerSubselectFetch. createRegistrationHandler(BatchFetchQueue batchFetchQueue, SelectStatement sqlAst, TableGroup tableGroup, JdbcParametersList jdbcParameters, JdbcParameterBindings jdbcParameterBindings)static SubselectFetch.RegistrationHandlerSubselectFetch. 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 SelectStatement Modifier and Type Method Description static SelectStatementLoaderSelectBuilder. createSelect(Loadable loadable, List<? extends ModelPart> partsToSelect, List<ModelPart> restrictedParts, DomainResult<?> cachedDomainResult, int numberOfKeysToLoad, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer, SessionFactoryImplementor sessionFactory)static SelectStatementLoaderSelectBuilder. 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 SelectStatementLoaderSelectBuilder. 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 SelectStatementLoaderSelectBuilder. 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 SelectStatementLoaderSelectBuilder. 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 CollectionLoaderSelectStatementCollectionElementLoaderByIndex. getSqlAst()SelectStatementCollectionLoaderSingleKey. getSqlAst()protected SelectStatementCollectionLoaderSubSelectFetch. getSqlAst()Methods in org.hibernate.loader.ast.internal with parameters of type SelectStatement Modifier and Type Method Description static <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 SelectStatement Constructor Description MultiKeyLoadChunker(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 Modifier and Type Method Description SelectStatementGeneratedValuesProcessor. getSelectStatement() -
Uses of SelectStatement in org.hibernate.query.sqm.mutation.internal
Methods in org.hibernate.query.sqm.mutation.internal that return SelectStatement Modifier and Type Method Description static SelectStatementMatchingIdSelectionHelper. generateMatchingIdSelectStatement(EntityMappingType targetEntityDescriptor, SqmDeleteOrUpdateStatement sqmStatement, boolean queryRoot, Predicate restriction, MultiTableSqmMutationConverter sqmConverter, DomainQueryExecutionContext executionContext, SessionFactoryImplementor sessionFactory) -
Uses of SelectStatement in org.hibernate.query.sqm.sql
Methods in org.hibernate.query.sqm.sql that return SelectStatement Modifier and Type Method Description SelectStatementBaseSqmToSqlAstConverter. visitSelectStatement(SqmSelectStatement<?> statement)SelectStatementBaseSqmToSqlAstConverter. visitSubQueryExpression(SqmSubQuery<?> sqmSubQuery)Methods in org.hibernate.query.sqm.sql that return types with arguments of type SelectStatement Modifier and Type Method Description SqmTranslator<SelectStatement>SqmTranslatorFactory. createSelectTranslator(SqmSelectStatement<?> sqmSelectStatement, QueryOptions queryOptions, DomainParameterXref domainParameterXref, QueryParameterBindings domainParameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext, boolean deduplicateSelectionItems)SqmTranslator<SelectStatement>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 SelectStatement Modifier and Type Method Description SqlAstTranslator<JdbcOperationQuerySelect>SqlAstTranslatorFactory. buildSelectTranslator(SessionFactoryImplementor sessionFactory, SelectStatement statement)Builds a single-use select translatorvoidSqlAstWalker. visitSelectStatement(SelectStatement statement) -
Uses of SelectStatement in org.hibernate.sql.ast.spi
Methods in org.hibernate.sql.ast.spi with parameters of type SelectStatement Modifier and Type Method Description SqlAstTranslator<JdbcOperationQuerySelect>StandardSqlAstTranslatorFactory. buildSelectTranslator(SessionFactoryImplementor sessionFactory, SelectStatement statement)protected voidAbstractSqlAstTranslator. 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 intAbstractSqlAstTranslator. getMaxRows(SelectStatement sqlAstSelect, JdbcParameterBindings jdbcParameterBindings, int rowsToSkip)protected intAbstractSqlAstTranslator. getRowsToSkip(SelectStatement sqlAstSelect, JdbcParameterBindings jdbcParameterBindings)protected JdbcOperationQuerySelectAbstractSqlAstTranslator. translateSelect(SelectStatement selectStatement)voidAbstractSqlAstTranslator. visitSelectStatement(SelectStatement statement)voidAbstractSqlAstWalker. visitSelectStatement(SelectStatement statement)voidAggregateFunctionChecker. visitSelectStatement(SelectStatement statement)voidExpressionReplacementWalker. visitSelectStatement(SelectStatement statement) -
Uses of SelectStatement in org.hibernate.sql.ast.tree.expression
Methods in org.hibernate.sql.ast.tree.expression that return SelectStatement Modifier and Type Method Description SelectStatementAny. getSubquery()SelectStatementEvery. getSubquery()SelectStatementModifiedSubQueryExpression. getSubQuery()Constructors in org.hibernate.sql.ast.tree.expression with parameters of type SelectStatement Constructor Description Any(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 SelectStatement Modifier and Type Method Description SelectStatementQueryPartTableReference. getStatement()Constructors in org.hibernate.sql.ast.tree.from with parameters of type SelectStatement Constructor Description QueryPartTableGroup(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 SelectStatement Modifier and Type Method Description SelectStatementExistsPredicate. getExpression()SelectStatementInSubQueryPredicate. getSubQuery()Constructors in org.hibernate.sql.ast.tree.predicate with parameters of type SelectStatement Constructor Description ExistsPredicate(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 SelectStatement Modifier and Type Method Description JdbcValuesMappingProducerJdbcValuesMappingProducerProviderStandard. 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 SelectStatement Modifier and Type Method Description JdbcValuesMappingProducerJdbcValuesMappingProducerProvider. buildMappingProducer(SelectStatement sqlAst, SessionFactoryImplementor sessionFactory)Provide the JdbcValuesMappingProducer to use for the given SQL AST
-