| Modifier and Type | Class and Description |
|---|---|
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private ForeignKeyDescriptor. | |
| private final LoaderSqlAstCreationState. | |
| private final boolean | |
| private final FromClauseAccess | |
| private final LoadQueryInfluencers | |
| private final LockOptions | |
| private final SqlAstQueryPartProcessingStateImpl | |
| private boolean | |
| private final SqlAstCreationContext | |
| private final SqlAliasBaseManager | |
| private final Set |
| Access | Constructor and Description |
|---|---|
| public | LoaderSqlAstCreationState(QueryPart queryPart, SqlAliasBaseManager sqlAliasBaseManager, FromClauseAccess fromClauseAccess, LockOptions lockOptions, LoaderSqlAstCreationState.
|
| currentlyResolvingForeignKeySide | back to summary |
|---|---|
| private ForeignKeyDescriptor. | |
| fetchProcessor | back to summary |
|---|---|
| private final LoaderSqlAstCreationState. | |
| forceIdentifierSelection | back to summary |
|---|---|
| private final boolean forceIdentifierSelection | |
| fromClauseAccess | back to summary |
|---|---|
| private final FromClauseAccess fromClauseAccess | |
| loadQueryInfluencers | back to summary |
|---|---|
| private final LoadQueryInfluencers loadQueryInfluencers | |
| lockOptions | back to summary |
|---|---|
| private final LockOptions lockOptions | |
| processingState | back to summary |
|---|---|
| private final SqlAstQueryPartProcessingStateImpl processingState | |
| resolvingCircularFetch | back to summary |
|---|---|
| private boolean resolvingCircularFetch | |
| sf | back to summary |
|---|---|
| private final SqlAstCreationContext sf | |
| sqlAliasBaseManager | back to summary |
|---|---|
| private final SqlAliasBaseManager sqlAliasBaseManager | |
| visitedAssociationKeys | back to summary |
|---|---|
| private final Set<AssociationKey> visitedAssociationKeys | |
| LoaderSqlAstCreationState | back to summary |
|---|---|
| public LoaderSqlAstCreationState(QueryPart queryPart, SqlAliasBaseManager sqlAliasBaseManager, FromClauseAccess fromClauseAccess, LockOptions lockOptions, LoaderSqlAstCreationState. | |
| forceIdentifierSelection | back to summary |
|---|---|
| public boolean forceIdentifierSelection() Overrides default org. Doc from org. Whether forcing the selection of the identifier is in effect for this creation
| |
| getAppliedGraph | back to summary |
|---|---|
| public AppliedGraph getAppliedGraph() Implements org. Doc from org. JPA
| |
| getCacheRetrieveMode | back to summary |
|---|---|
| public CacheRetrieveMode getCacheRetrieveMode() Implements org. Doc from org. Controls whether query results are read from the cache.
No effect unless
| |
| getCacheStoreMode | back to summary |
|---|---|
| public CacheStoreMode getCacheStoreMode() Implements org. Doc from org. Controls whether query results are put into the cache.
No effect unless
| |
| getComment | back to summary |
|---|---|
| public String getComment() Implements org. Doc from org. The SQL comment to apply to the interpreted SQL query, for dialects which support SQL comments
| |
| getCreationContext | back to summary |
|---|---|
| public SqlAstCreationContext getCreationContext() Implements org.
| |
| getCurrentlyResolvingForeignKeyPart | back to summary |
|---|---|
| public ForeignKeyDescriptor. Implements org. Doc from org. Returns the part of the foreign key that is currently being resolved,
or
| |
| getCurrentProcessingState | back to summary |
|---|---|
| public SqlAstProcessingState getCurrentProcessingState() Implements org.
| |
| getDatabaseHints | back to summary |
|---|---|
| public List Implements org. Doc from org. Hints to apply to the interpreted SQL query
| |
| getDisabledFetchProfiles | back to summary |
|---|---|
| public Set Implements org. Doc from org. The explicitly disabled profiles for this query
| |
| getEnabledFetchProfiles | back to summary |
|---|---|
| public Set Implements org. Doc from org. The explicitly enabled profiles for this query
| |
| getFetchSize | back to summary |
|---|---|
| public Integer getFetchSize() Implements org. Doc from org. The fetch size to be applied to the JDBC query.
| |
| getFlushMode | back to summary |
|---|---|
| public FlushMode getFlushMode() Implements org. Doc from org. The flush mode to use for the query execution
| |
| getFromClauseAccess | back to summary |
|---|---|
| public FromClauseAccess getFromClauseAccess() Implements org.
| |
| getFromRegistrations | back to summary |
|---|---|
| public Map Implements org. Doc from org. Returns the treated SqmFroms and whether their
| |
| getInflightQueryPart | back to summary |
|---|---|
| public QueryPart getInflightQueryPart() Implements org. Doc from org. Get the QueryPart being processed as part of this state. It is considered in-flight as it is probably still being built.
| |
| getLimit | back to summary |
|---|---|
| public Limit getLimit() Implements org. Doc from org. The limit to the query results. May also be accessed via
| |
| getLoadQueryInfluencers | back to summary |
|---|---|
| public LoadQueryInfluencers getLoadQueryInfluencers() Implements org.
| |
| getLockOptions | back to summary |
|---|---|
| public LockOptions getLockOptions() Implements org. Doc from org. Describes the locking to apply to the query results
| |
| getParentState | back to summary |
|---|---|
| public SqlAstProcessingState getParentState() Implements org.
| |
| getQueryPlanCachingEnabled | back to summary |
|---|---|
| public Boolean getQueryPlanCachingEnabled() Implements org. Doc from org. Should the query plan of the query be cached?
| |
| getResultCacheRegionName | back to summary |
|---|---|
| public String getResultCacheRegionName() Implements org. Doc from org. The query cache region in which the results should be cached. No
effect unless
| |
| getResultListTransformer | back to summary |
|---|---|
| public ResultListTransformer Implements org. Doc from org. Transformer applied to the query to transform the structure of the overall results
| |
| getSqlAliasBaseGenerator | back to summary |
|---|---|
| public SqlAliasBaseGenerator getSqlAliasBaseGenerator() Implements org.
| |
| getSqlAstCreationState | back to summary |
|---|---|
| public SqlAstCreationState getSqlAstCreationState() Implements org. Doc from org. The underlying state for SQL AST creation
| |
| getSqlExpressionResolver | back to summary |
|---|---|
| public SqlExpressionResolver getSqlExpressionResolver() Implements org.
| |
| getTimeout | back to summary |
|---|---|
| public Integer getTimeout() Implements org. Doc from org. The timeout to apply to the query. May also be defined at the transaction
level using
| |
| getTupleTransformer | back to summary |
|---|---|
| public TupleTransformer Implements org. Doc from org. Transformer applied to the query to transform the structure of each "row" in the results
| |
| isAssociationKeyVisited | back to summary |
|---|---|
| public boolean isAssociationKeyVisited(AssociationKey associationKey) Overrides default org. Doc from org. Checks whether the given circularityKey is registered
| |
| isReadOnly | back to summary |
|---|---|
| public Boolean isReadOnly() Implements org. Doc from org. Should entities returned from the query be marked read-only.
| |
| isRegisteringVisitedAssociationKeys | back to summary |
|---|---|
| public boolean isRegisteringVisitedAssociationKeys() Overrides default org. Doc from org. Is this state accepting circularity detection keys?
| |
| isResolvingCircularFetch | back to summary |
|---|---|
| public boolean isResolvingCircularFetch() Implements org.
| |
| isResultCachingEnabled | back to summary |
|---|---|
| public Boolean isResultCachingEnabled() Implements org. Doc from org. Should results from the query be cached?
| |
| registerFromUsage | back to summary |
|---|---|
| public void registerFromUsage(SqmFrom<?, ?> sqmFrom, boolean downgradeTreatUses) Implements org. Doc from org. Registers that the given SqmFrom was used in an expression and whether to downgrade
| |
| registerLockMode | back to summary |
|---|---|
| public void registerLockMode(String identificationVariable, LockMode explicitLockMode) Implements org.
| |
| registerTreatedFrom | back to summary |
|---|---|
| public void registerTreatedFrom(SqmFrom<?, ?> sqmFrom) Implements org. Doc from org. Registers that the given SqmFrom is treated.
| |
| registerVisitedAssociationKey | back to summary |
|---|---|
| public boolean registerVisitedAssociationKey(AssociationKey associationKey) Overrides default org. Doc from org. Registers a circularity detection key
| |
| removeVisitedAssociationKey | back to summary |
|---|---|
| public void removeVisitedAssociationKey(AssociationKey associationKey) Overrides default org. Doc from org. Removes the registration of a circularity detection key
| |
| resolveModelPart | back to summary |
|---|---|
| public ModelPart resolveModelPart(NavigablePath navigablePath) Implements org. Doc from org. Resolve the ModelPart associated with a given NavigablePath. More specific ModelParts should be preferred - e.g. the SingularAssociationAttributeMapping rather than just the EntityTypeMapping for the associated type
| |
| setCurrentlyResolvingForeignKeyPart | back to summary |
|---|---|
| public void setCurrentlyResolvingForeignKeyPart(ForeignKeyDescriptor. Implements org.
| |
| setResolvingCircularFetch | back to summary |
|---|---|
| public void setResolvingCircularFetch(boolean resolvingCircularFetch) Implements org.
| |
| visitFetches | back to summary |
|---|---|
| public ImmutableFetchList visitFetches(FetchParent fetchParent) Implements org. Doc from org. Visit fetches for the given parent. We walk fetches via the SqlAstCreationContext because each "context" will define differently what should be fetched (HQL versus load)
| |
| visitNestedFetches | back to summary |
|---|---|
| public ImmutableFetchList visitNestedFetches(FetchParent fetchParent) Implements org.
| |
| Modifier and Type | Method and Description |
|---|---|
| public ImmutableFetchList |
| visitFetches | back to summary |
|---|---|
| public ImmutableFetchList visitFetches(FetchParent fetchParent, LoaderSqlAstCreationState creationState) | |