CriteriaLoader
| Modifier and Type | Field and Description |
|---|---|
| private final Set | |
| private final Type[] | |
| private final CriteriaQueryTranslator | |
| private final String[] | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public | CriteriaJoinWalker(final OuterJoinLoadable persister, final CriteriaQueryTranslator translator, final SessionFactoryImplementor factory, final CriteriaImpl criteria, final String rootEntityName, final LoadQueryInfluencers loadQueryInfluencers)
|
| public | CriteriaJoinWalker(final OuterJoinLoadable persister, final CriteriaQueryTranslator translator, final SessionFactoryImplementor factory, final CriteriaImpl criteria, final String rootEntityName, final LoadQueryInfluencers loadQueryInfluencers, final String alias)
|
| Modifier and Type | Method and Description |
|---|---|
| protected String | |
| protected String | generateTableAlias(int n, PropertyPath path, Joinable joinable)
Overrides org. |
| public String | |
| protected int | getJoinType(OuterJoinLoadable
The owner of the association. persister, final PropertyPath The path to the association path, int The property number representing the association. propertyNumber, AssociationType The association type. associationType, FetchMode The metadata-defined fetch mode. metadataFetchMode, CascadeStyle The metadata-defined cascade style. metadataCascadeStyle, String The owner table lhsTable, String[] The owner join columns lhsColumns, final boolean Is the association nullable. nullable, final int Current join depth currentDepth)Overrides org. |
| protected int | getJoinType(AssociationType
The association associationType. associationType, FetchMode The metadata-defined fetch mode. config, PropertyPath The path to the association path, String The owner table lhsTable, String[] The owner join columns lhsColumns, boolean Is the association nullable. nullable, int Current join depth currentDepth, CascadeStyle The metadata-defined cascade style. cascadeStyle)Overrides org. |
| public Set | |
| public Type[] | |
| public String[] | |
| protected String | getWhereFragment()
Overrides org. |
| protected String | |
| protected boolean | |
| private static boolean |
| querySpaces | back to summary |
|---|---|
| private final Set<E> querySpaces | |
| resultTypes | back to summary |
|---|---|
| private final Type[] resultTypes | |
| translator | back to summary |
|---|---|
| private final CriteriaQueryTranslator translator | |
| userAliases | back to summary |
|---|---|
| private final String[] userAliases | |
| userAliasList | back to summary |
|---|---|
| private final List<E> userAliasList | |
| CriteriaJoinWalker | back to summary |
|---|---|
| public CriteriaJoinWalker(final OuterJoinLoadable persister, final CriteriaQueryTranslator translator, final SessionFactoryImplementor factory, final CriteriaImpl criteria, final String rootEntityName, final LoadQueryInfluencers loadQueryInfluencers) | |
| CriteriaJoinWalker | back to summary |
|---|---|
| public CriteriaJoinWalker(final OuterJoinLoadable persister, final CriteriaQueryTranslator translator, final SessionFactoryImplementor factory, final CriteriaImpl criteria, final String rootEntityName, final LoadQueryInfluencers loadQueryInfluencers, final String alias) | |
| generateRootAlias | back to summary |
|---|---|
| protected String generateRootAlias(String tableName) Overrides org. | |
| generateTableAlias | back to summary |
|---|---|
| protected String generateTableAlias(int n, PropertyPath path, Joinable joinable) Overrides org. | |
| getComment | back to summary |
|---|---|
| public String getComment() Implements abstract org. | |
| getJoinType | back to summary |
|---|---|
| protected int getJoinType(OuterJoinLoadable persister, final PropertyPath path, int propertyNumber, AssociationType associationType, FetchMode metadataFetchMode, CascadeStyle metadataCascadeStyle, String lhsTable, String[] lhsColumns, final boolean nullable, final int currentDepth) throws MappingException Overrides org. Doc from org. Determine the appropriate type of join (if any) to use to fetch the given association.
| |
| getJoinType | back to summary |
|---|---|
| protected int getJoinType(AssociationType associationType, FetchMode config, PropertyPath path, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth, CascadeStyle cascadeStyle) throws MappingException Overrides org. Doc from org. Determine the appropriate associationType of join (if any) to use to fetch the given association.
| |
| getQuerySpaces | back to summary |
|---|---|
| public Set | |
| getResultTypes | back to summary |
|---|---|
| public Type[] getResultTypes() | |
| getUserAliases | back to summary |
|---|---|
| public String[] getUserAliases() | |
| getWhereFragment | back to summary |
|---|---|
| protected String getWhereFragment() throws MappingException Overrides org. Use the discriminator, to narrow the select to instances of the queried subclass, also applying any filters. | |
| getWithClause | back to summary |
|---|---|
| protected String getWithClause(PropertyPath path) | |
| hasRestriction | back to summary |
|---|---|
| protected boolean hasRestriction(PropertyPath path) | |
| isDefaultFetchMode | back to summary |
|---|---|
| private static boolean isDefaultFetchMode(FetchMode fetchMode) | |