Top Description Inners Fields Constructors Methods
org.hibernate.loader.ast.internal

public Class LoaderSelectBuilder

extends Object
Class Inheritance
Imports
java.util.ArrayList, .Collections, .List, .Map, .Objects, java.util.function.Consumer, org.hibernate.LockOptions, org.hibernate.engine.FetchStyle, .FetchTiming, org.hibernate.engine.profile.FetchProfile, org.hibernate.engine.spi.CascadeStyle, .CascadingAction, .EffectiveEntityGraph, .LoadQueryInfluencers, .SessionFactoryImplementor, .SubselectFetch, org.hibernate.graph.GraphSemantic, org.hibernate.graph.spi.RootGraphImplementor, org.hibernate.loader.ast.spi.Loadable, .Loader, org.hibernate.metamodel.CollectionClassification, org.hibernate.metamodel.mapping.AttributeMapping, .BasicValuedModelPart, .CollectionPart, .EntityIdentifierMapping, .EntityValuedModelPart, .ForeignKeyDescriptor, .ModelPart, .NaturalIdMapping, .NonAggregatedIdentifierMapping, .PluralAttributeMapping, .Restrictable, .SelectableMapping, .ValuedModelPart, org.hibernate.metamodel.mapping.internal.EmbeddedAttributeMapping, .SimpleForeignKeyDescriptor, .ToOneAttributeMapping, org.hibernate.metamodel.mapping.ordering.OrderByFragment, org.hibernate.query.sqm.ComparisonOperator, org.hibernate.spi.EntityIdentifierNavigablePath, .NavigablePath, org.hibernate.sql.ast.SqlAstJoinType, org.hibernate.sql.ast.spi.AliasCollector, .FromClauseAccess, .SimpleFromClauseAccessImpl, .SqlAliasBaseManager, .SqlAstCreationContext, .SqlAstCreationState, .SqlExpressionResolver, org.hibernate.sql.ast.tree.expression.ColumnReference, .Expression, .JdbcParameter, .SqlTuple, org.hibernate.sql.ast.tree.from.PluralTableGroup, .TableGroup, .TableGroupJoin, .TableGroupJoinProducer, .TableReference, org.hibernate.sql.ast.tree.predicate.ComparisonPredicate, .InArrayPredicate, .InListPredicate, .InSubQueryPredicate, org.hibernate.sql.ast.tree.select.QueryPart, .QuerySpec, .SelectStatement, org.hibernate.sql.exec.internal.JdbcParameterImpl, org.hibernate.sql.results.graph.BiDirectionalFetch, .DomainResult, .EntityGraphTraversalState, .Fetch, .FetchParent, .Fetchable, .FetchableContainer, org.hibernate.sql.results.graph.collection.internal.CollectionDomainResult, org.hibernate.sql.results.graph.entity.EntityValuedFetchable, org.hibernate.sql.results.graph.internal.ImmutableFetchList, org.hibernate.sql.results.internal.SqlSelectionImpl, .StandardEntityGraphTraversalStateImpl, org.jboss.logging.Logger

Builder for SQL AST trees used by Loader implementations.
Authors
Steve Ebersole, Nahtan Xu

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static interface
private static enum
LoaderSelectBuilder.RowCardinality

Describes the JDBC result set cardinality per entity result object.

Field Summary

Modifier and TypeField and Description
private final DomainResult<?>
private final SqlAstCreationContext
private final EntityGraphTraversalState
private int
private final boolean
private final Consumer<JdbcParameter>
private final Loadable
private final LoadQueryInfluencers
private final LockOptions
private static final Logger
private final int
private final List<? extends ModelPart>
private final List<ModelPart>
private LoaderSelectBuilder.RowCardinality

Constructor Summary

AccessConstructor and Description
private
LoaderSelectBuilder(SqlAstCreationContext creationContext, Loadable loadable, List<? extends ModelPart> partsToSelect, List<ModelPart> restrictedParts, DomainResult<?> cachedDomainResult, int numberOfKeysToLoad, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, EntityGraphTraversalState entityGraphTraversalState, boolean forceIdentifierSelection, Consumer<JdbcParameter> jdbcParameterConsumer)

private
LoaderSelectBuilder(SqlAstCreationContext creationContext, Loadable loadable, List<? extends ModelPart> partsToSelect, List<ModelPart> restrictedParts, DomainResult<?> cachedDomainResult, int numberOfKeysToLoad, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer)

private
LoaderSelectBuilder(SqlAstCreationContext creationContext, Loadable loadable, List<? extends ModelPart> partsToSelect, ModelPart restrictedPart, DomainResult<?> cachedDomainResult, int numberOfKeysToLoad, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer)

Method Summary

Modifier and TypeMethod and Description
private static void
applyArrayParamRestriction(QuerySpec rootQuerySpec, NavigablePath rootNavigablePath, TableGroup rootTableGroup, ValuedModelPart restrictedPart, JdbcParameter jdbcArrayParameter, LoaderSqlAstCreationState sqlAstCreationState)

private void
applyFiltering(QuerySpec querySpec, TableGroup tableGroup, PluralAttributeMapping pluralAttributeMapping, SqlAstCreationState astCreationState)

private void
applyFiltering(QuerySpec querySpec, TableGroup tableGroup, Restrictable restrictable, SqlAstCreationState astCreationState)

private void
applyOrdering(QuerySpec querySpec, TableGroup tableGroup, PluralAttributeMapping pluralAttributeMapping, SqlAstCreationState astCreationState)

private void
applyOrdering(QuerySpec querySpec, TableGroup tableGroup, OrderByFragment orderByFragment, SqlAstCreationState astCreationState)

private void
applyOrdering(QuerySpec querySpec, NavigablePath navigablePath, PluralAttributeMapping pluralAttributeMapping, LoaderSqlAstCreationState sqlAstCreationState)

private void
applyRestriction(QuerySpec rootQuerySpec, NavigablePath rootNavigablePath, TableGroup rootTableGroup, ModelPart restrictedPart, int numberColumns, Consumer<JdbcParameter> jdbcParameterConsumer, LoaderSqlAstCreationState sqlAstCreationState)

private void
applySubSelectRestriction(QuerySpec querySpec, TableGroup rootTableGroup, SubselectFetch subselect, LoaderSqlAstCreationState sqlAstCreationState)

private List<DomainResult<?>>
buildRequestedDomainResults(NavigablePath rootNavigablePath, LoaderSqlAstCreationState sqlAstCreationState, TableGroup rootTableGroup)

private TableGroup
buildRootTableGroup(NavigablePath rootNavigablePath, QuerySpec rootQuerySpec, LoaderSqlAstCreationState sqlAstCreationState)

private LoaderSelectBuilder.FetchableConsumer
public static SelectStatement
createSelect(Loadable
The root Loadable
loadable
,
List<? extends ModelPart>
Parts of the Loadable to select. Null/empty indicates to select the Loadable itself
partsToSelect
,
ModelPart
Part to base the where-clause restriction on
restrictedPart
,
DomainResult<?>
DomainResult to be used. Null indicates to generate the DomainResult
cachedDomainResult
,
int
How many keys should be accounted for in the where-clause restriction?
numberOfKeysToLoad
,
LoadQueryInfluencers
Any influencers (entity graph, fetch profile) to account for
loadQueryInfluencers
,
LockOptions
Pessimistic lock options to apply
lockOptions
,
Consumer<JdbcParameter>
Consumer for all JdbcParameter references created
jdbcParameterConsumer
,
SessionFactoryImplementor
The SessionFactory
sessionFactory
)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Create an SQL AST select-statement based on matching one-or-more keys
public static SelectStatement
createSelect(Loadable loadable, List<? extends ModelPart> partsToSelect, List<ModelPart> restrictedParts, DomainResult<?> cachedDomainResult, int numberOfKeysToLoad, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
pack-priv static SelectStatement
createSelect(Loadable loadable, List<ModelPart> partsToSelect, boolean forceIdentifierSelection, List<ModelPart> restrictedParts, DomainResult<?> cachedDomainResult, int numberOfKeysToLoad, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
public static SelectStatement
createSelectBySingleArrayParameter(Loadable loadable, ValuedModelPart restrictedPart, LoadQueryInfluencers influencers, LockOptions lockOptions, JdbcParameter jdbcArrayParameter, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Create a select-statement (SQL AST) for loading by multiple keys using a single SQL ARRAY parameter
public static SelectStatement
createSelectByUniqueKey(Loadable
The root Loadable
loadable
,
List<? extends ModelPart>
Parts of the Loadable to select. Null/empty indicates to select the Loadable itself
partsToSelect
,
ModelPart
Part to base the where-clause restriction on
restrictedPart
,
DomainResult<?>
DomainResult to be used. Null indicates to generate the DomainResult
cachedDomainResult
,
LoadQueryInfluencers
Any influencers (entity graph, fetch profile) to account for
loadQueryInfluencers
,
LockOptions
Pessimistic lock options to apply
lockOptions
,
Consumer<JdbcParameter>
Consumer for all JdbcParameter references created
jdbcParameterConsumer
,
SessionFactoryImplementor
The SessionFactory
sessionFactory
)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Create an SQL AST select-statement for loading by unique key
private LoaderSqlAstCreationState
public static SelectStatement
createSubSelectFetchSelect(PluralAttributeMapping
The plural-attribute being loaded
attributeMapping
,
SubselectFetch
The subselect details to apply
subselect
,
DomainResult<?>
DomainResult to be used. Null indicates to generate the DomainResult?
cachedDomainResult
,
LoadQueryInfluencers
Any influencers (entity graph, fetch profile) to account for
loadQueryInfluencers
,
LockOptions
Pessimistic lock options to apply
lockOptions
,
Consumer<JdbcParameter>
Consumer for all JdbcParameter references created
jdbcParameterConsumer
,
SessionFactoryImplementor
The SessionFactory
sessionFactory
)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Create an SQL AST select-statement used for subselect-based CollectionLoader
private static EntityGraphTraversalState
determineGraphTraversalState(LoadQueryInfluencers loadQueryInfluencers, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
private static boolean
determineWhetherToForceIdSelection(int numberOfKeysToLoad, List<ModelPart> restrictedParts)

private SelectStatement
private SelectStatement
private QueryPart
private boolean
isBag(Fetchable fetchable)

private boolean
private void
private boolean
shouldExplicitFetch(Integer maxFetchDepth, Fetchable fetchable, LoaderSqlAstCreationState creationState)

private ImmutableFetchList
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

cachedDomainResultback to summary
private final DomainResult<?> cachedDomainResult
creationContextback to summary
private final SqlAstCreationContext creationContext
entityGraphTraversalStateback to summary
private final EntityGraphTraversalState entityGraphTraversalState
fetchDepthback to summary
private int fetchDepth
forceIdentifierSelectionback to summary
private final boolean forceIdentifierSelection
jdbcParameterConsumerback to summary
private final Consumer<JdbcParameter> jdbcParameterConsumer
loadableback to summary
private final Loadable loadable
loadQueryInfluencersback to summary
private final LoadQueryInfluencers loadQueryInfluencers
lockOptionsback to summary
private final LockOptions lockOptions
logback to summary
private static final Logger log
numberOfKeysToLoadback to summary
private final int numberOfKeysToLoad
partsToSelectback to summary
private final List<? extends ModelPart> partsToSelect
restrictedPartsback to summary
private final List<ModelPart> restrictedParts
rowCardinalityback to summary
private LoaderSelectBuilder.RowCardinality rowCardinality

Constructor Detail

LoaderSelectBuilderback to summary
private LoaderSelectBuilder(SqlAstCreationContext creationContext, Loadable loadable, List<? extends ModelPart> partsToSelect, List<ModelPart> restrictedParts, DomainResult<?> cachedDomainResult, int numberOfKeysToLoad, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, EntityGraphTraversalState entityGraphTraversalState, boolean forceIdentifierSelection, Consumer<JdbcParameter> jdbcParameterConsumer)
LoaderSelectBuilderback to summary
private LoaderSelectBuilder(SqlAstCreationContext creationContext, Loadable loadable, List<? extends ModelPart> partsToSelect, List<ModelPart> restrictedParts, DomainResult<?> cachedDomainResult, int numberOfKeysToLoad, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer)
LoaderSelectBuilderback to summary
private LoaderSelectBuilder(SqlAstCreationContext creationContext, Loadable loadable, List<? extends ModelPart> partsToSelect, ModelPart restrictedPart, DomainResult<?> cachedDomainResult, int numberOfKeysToLoad, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer)

Method Detail

applyArrayParamRestrictionback to summary
private static void applyArrayParamRestriction(QuerySpec rootQuerySpec, NavigablePath rootNavigablePath, TableGroup rootTableGroup, ValuedModelPart restrictedPart, JdbcParameter jdbcArrayParameter, LoaderSqlAstCreationState sqlAstCreationState)
applyFilteringback to summary
private void applyFiltering(QuerySpec querySpec, TableGroup tableGroup, PluralAttributeMapping pluralAttributeMapping, SqlAstCreationState astCreationState)
applyFilteringback to summary
private void applyFiltering(QuerySpec querySpec, TableGroup tableGroup, Restrictable restrictable, SqlAstCreationState astCreationState)
applyOrderingback to summary
private void applyOrdering(QuerySpec querySpec, TableGroup tableGroup, PluralAttributeMapping pluralAttributeMapping, SqlAstCreationState astCreationState)
applyOrderingback to summary
private void applyOrdering(QuerySpec querySpec, TableGroup tableGroup, OrderByFragment orderByFragment, SqlAstCreationState astCreationState)
applyOrderingback to summary
private void applyOrdering(QuerySpec querySpec, NavigablePath navigablePath, PluralAttributeMapping pluralAttributeMapping, LoaderSqlAstCreationState sqlAstCreationState)
applyRestrictionback to summary
private void applyRestriction(QuerySpec rootQuerySpec, NavigablePath rootNavigablePath, TableGroup rootTableGroup, ModelPart restrictedPart, int numberColumns, Consumer<JdbcParameter> jdbcParameterConsumer, LoaderSqlAstCreationState sqlAstCreationState)
applySubSelectRestrictionback to summary
private void applySubSelectRestriction(QuerySpec querySpec, TableGroup rootTableGroup, SubselectFetch subselect, LoaderSqlAstCreationState sqlAstCreationState)
buildRequestedDomainResultsback to summary
private List<DomainResult<?>> buildRequestedDomainResults(NavigablePath rootNavigablePath, LoaderSqlAstCreationState sqlAstCreationState, TableGroup rootTableGroup)
buildRootTableGroupback to summary
private TableGroup buildRootTableGroup(NavigablePath rootNavigablePath, QuerySpec rootQuerySpec, LoaderSqlAstCreationState sqlAstCreationState)
createFetchableConsumerback to summary
private LoaderSelectBuilder.FetchableConsumer createFetchableConsumer(FetchParent fetchParent, LoaderSqlAstCreationState creationState, ImmutableFetchList.Builder fetches)
createSelectback to summary
public static SelectStatement createSelect(Loadable loadable, List<? extends ModelPart> partsToSelect, ModelPart restrictedPart, DomainResult<?> cachedDomainResult, int numberOfKeysToLoad, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Create an SQL AST select-statement based on matching one-or-more keys

Parameters
loadable:Loadable

The root Loadable

partsToSelect:List<? extends ModelPart>

Parts of the Loadable to select. Null/empty indicates to select the Loadable itself

restrictedPart:ModelPart

Part to base the where-clause restriction on

cachedDomainResult:DomainResult<?>

DomainResult to be used. Null indicates to generate the DomainResult

numberOfKeysToLoad:int

How many keys should be accounted for in the where-clause restriction?

loadQueryInfluencers:LoadQueryInfluencers

Any influencers (entity graph, fetch profile) to account for

lockOptions:LockOptions

Pessimistic lock options to apply

jdbcParameterConsumer:Consumer<JdbcParameter>

Consumer for all JdbcParameter references created

sessionFactory:SessionFactoryImplementor

The SessionFactory

createSelectback to summary
public static SelectStatement createSelect(Loadable loadable, List<? extends ModelPart> partsToSelect, List<ModelPart> restrictedParts, DomainResult<?> cachedDomainResult, int numberOfKeysToLoad, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

createSelectback to summary
pack-priv static SelectStatement createSelect(Loadable loadable, List<ModelPart> partsToSelect, boolean forceIdentifierSelection, List<ModelPart> restrictedParts, DomainResult<?> cachedDomainResult, int numberOfKeysToLoad, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

createSelectBySingleArrayParameterback to summary
public static SelectStatement createSelectBySingleArrayParameter(Loadable loadable, ValuedModelPart restrictedPart, LoadQueryInfluencers influencers, LockOptions lockOptions, JdbcParameter jdbcArrayParameter, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Create a select-statement (SQL AST) for loading by multiple keys using a single SQL ARRAY parameter

createSelectByUniqueKeyback to summary
public static SelectStatement createSelectByUniqueKey(Loadable loadable, List<? extends ModelPart> partsToSelect, ModelPart restrictedPart, DomainResult<?> cachedDomainResult, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Create an SQL AST select-statement for loading by unique key

Parameters
loadable:Loadable

The root Loadable

partsToSelect:List<? extends ModelPart>

Parts of the Loadable to select. Null/empty indicates to select the Loadable itself

restrictedPart:ModelPart

Part to base the where-clause restriction on

cachedDomainResult:DomainResult<?>

DomainResult to be used. Null indicates to generate the DomainResult

loadQueryInfluencers:LoadQueryInfluencers

Any influencers (entity graph, fetch profile) to account for

lockOptions:LockOptions

Pessimistic lock options to apply

jdbcParameterConsumer:Consumer<JdbcParameter>

Consumer for all JdbcParameter references created

sessionFactory:SessionFactoryImplementor

The SessionFactory

createSqlAstCreationStateback to summary
private LoaderSqlAstCreationState createSqlAstCreationState(QuerySpec rootQuerySpec)
createSubSelectFetchSelectback to summary
public static SelectStatement createSubSelectFetchSelect(PluralAttributeMapping attributeMapping, SubselectFetch subselect, DomainResult<?> cachedDomainResult, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Create an SQL AST select-statement used for subselect-based CollectionLoader

Parameters
attributeMapping:PluralAttributeMapping

The plural-attribute being loaded

subselect:SubselectFetch

The subselect details to apply

cachedDomainResult:DomainResult<?>

DomainResult to be used. Null indicates to generate the DomainResult?

loadQueryInfluencers:LoadQueryInfluencers

Any influencers (entity graph, fetch profile) to account for

lockOptions:LockOptions

Pessimistic lock options to apply

jdbcParameterConsumer:Consumer<JdbcParameter>

Consumer for all JdbcParameter references created

sessionFactory:SessionFactoryImplementor

The SessionFactory

See Also
CollectionLoaderSubSelectFetch
determineGraphTraversalStateback to summary
private static EntityGraphTraversalState determineGraphTraversalState(LoadQueryInfluencers loadQueryInfluencers, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

determineWhetherToForceIdSelectionback to summary
private static boolean determineWhetherToForceIdSelection(int numberOfKeysToLoad, List<ModelPart> restrictedParts)
generateSelectback to summary
private SelectStatement generateSelect()
generateSelectback to summary
private SelectStatement generateSelect(SubselectFetch subselect)
generateSubSelectback to summary
private QueryPart generateSubSelect(PluralAttributeMapping attributeMapping, SubselectFetch subselect, LoaderSqlAstCreationState creationState)
isBagback to summary
private boolean isBag(Fetchable fetchable)
isPluralAttributeMappingback to summary
private boolean isPluralAttributeMapping(Fetchable fetchable)
registerPluralTableGroupPartsback to summary
private void registerPluralTableGroupParts(FromClauseAccess fromClauseAccess, TableGroup tableGroup)
shouldExplicitFetchback to summary
private boolean shouldExplicitFetch(Integer maxFetchDepth, Fetchable fetchable, LoaderSqlAstCreationState creationState)
visitFetchesback to summary
private ImmutableFetchList visitFetches(FetchParent fetchParent, LoaderSqlAstCreationState creationState)
org.hibernate.loader.ast.internal back to summary

private Interface LoaderSelectBuilder.FetchableConsumer

Annotations
@FunctionalInterface

Method Summary

Modifier and TypeMethod and Description
public void
accept(Fetchable fetchable, boolean isKeyFetchable, boolean isABag)

Method Detail

acceptback to summary
public void accept(Fetchable fetchable, boolean isKeyFetchable, boolean isABag)
org.hibernate.loader.ast.internal back to summary

private final Enum LoaderSelectBuilder.RowCardinality

extends Enum<LoaderSelectBuilder.RowCardinality>
Class Inheritance

Describes the JDBC result set cardinality per entity result object.

Field Summary

Modifier and TypeField and Description
public static final LoaderSelectBuilder.RowCardinality
BAG

Means there are multiple JDBC result rows per entity result object, but the aggregation of rows is dependent on the result cardinality.

public static final LoaderSelectBuilder.RowCardinality
SET

Means there are multiple JDBC result rows per entity result object, but the aggregation of rows is not affected the result cardinality.

public static final LoaderSelectBuilder.RowCardinality
SINGLE

Means that there is a single JDBC result row per entity result object.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static LoaderSelectBuilder.RowCardinality
public static LoaderSelectBuilder.RowCardinality[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

BAGback to summary
public static final LoaderSelectBuilder.RowCardinality BAG

Means there are multiple JDBC result rows per entity result object, but the aggregation of rows is dependent on the result cardinality.

SETback to summary
public static final LoaderSelectBuilder.RowCardinality SET

Means there are multiple JDBC result rows per entity result object, but the aggregation of rows is not affected the result cardinality.

SINGLEback to summary
public static final LoaderSelectBuilder.RowCardinality SINGLE

Means that there is a single JDBC result row per entity result object.

Constructor Detail

RowCardinalityback to summary
private RowCardinality()

Method Detail

valueOfback to summary
public static LoaderSelectBuilder.RowCardinality valueOf(String name)
valuesback to summary
public static LoaderSelectBuilder.RowCardinality[] values()