Top Fields Constructors Methods
org.hibernate.hql.internal.ast.tree

public Class CollectionPathNode

extends SqlNode
Class Inheritance
Imports
java.util.List, org.hibernate.QueryException, org.hibernate.hql.internal.ast.HqlSqlWalker, .SqlASTFactory, org.hibernate.internal.util.StringHelper, org.hibernate.persister.collection.CollectionPersister, .QueryableCollection, org.hibernate.persister.entity.EntityPersister, .Joinable, .PropertyMapping, org.hibernate.type.CollectionType, .CompositeType, .EntityType, .Type, antlr.SemanticException, antlr.collections.AST

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final CollectionPersister
private final String
private final String
private final String
private final FromElement
ownerFromElement

Used to resolve the collection "owner key" columns

private final HqlSqlWalker

Constructor Summary

AccessConstructor and Description
public
CollectionPathNode(FromElement ownerFromElement, CollectionPersister collectionDescriptor, String collectionPropertyName, String collectionQueryPath, String collectionPropertyPath, HqlSqlWalker walker)

Deprecated as a consequence of FromElement being deprecated.
Instantiate a `CollectionPathNode`

Method Summary

Modifier and TypeMethod and Description
public static CollectionPathNode
from(AST
The left-hand-side of a dot-ident node - may be null to indicate an ident arg
qualifier
,
AST
The right-hand-side of the dot-ident or the ident that is an unqualified reference
reference
,
HqlSqlWalker walker)

Factory for `CollectionPathNode` instances

public CollectionPersister
public FromElement
getCollectionOwnerFromElement()

Deprecated as a consequence of FromElement being deprecated.
public String
getCollectionPropertyName()

The name of the collection property - e.g. `theCollection`

public String
getCollectionPropertyPath()

The collection property path relative to the "owning entity" in the mapping model - e.g. `theCollection` or `someEmbeddable.theCollection`.

public String
getCollectionQueryPath()

The "full" path.

public String[]
Inherited from org.hibernate.hql.internal.ast.tree.SqlNode:
getDataTypegetOriginalTextsetDataTypesetText

Field Detail

collectionDescriptorback to summary
private final CollectionPersister collectionDescriptor
collectionPropertyNameback to summary
private final String collectionPropertyName
collectionPropertyPathback to summary
private final String collectionPropertyPath
collectionQueryPathback to summary
private final String collectionQueryPath
ownerFromElementback to summary
private final FromElement ownerFromElement

Deprecated

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

Used to resolve the collection "owner key" columns

walkerback to summary
private final HqlSqlWalker walker

Constructor Detail

CollectionPathNodeback to summary
public CollectionPathNode(FromElement ownerFromElement, CollectionPersister collectionDescriptor, String collectionPropertyName, String collectionQueryPath, String collectionPropertyPath, HqlSqlWalker walker)

Deprecated

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

Instantiate a `CollectionPathNode`

Annotations
@SuppressWarnings:WeakerAccess
See Also
from(AST, AST, HqlSqlWalker)

Method Detail

fromback to summary
public static CollectionPathNode from(AST qualifier, AST reference, HqlSqlWalker walker)

Factory for `CollectionPathNode` instances

Parameters
qualifier:AST

The left-hand-side of a dot-ident node - may be null to indicate an ident arg

reference:AST

The right-hand-side of the dot-ident or the ident that is an unqualified reference

getCollectionDescriptorback to summary
public CollectionPersister getCollectionDescriptor()
Annotations
@SuppressWarnings:WeakerAccess
getCollectionOwnerFromElementback to summary
public FromElement getCollectionOwnerFromElement()

Deprecated

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

Annotations
@SuppressWarnings:WeakerAccess
getCollectionPropertyNameback to summary
public String getCollectionPropertyName()

The name of the collection property - e.g. `theCollection`

getCollectionPropertyPathback to summary
public String getCollectionPropertyPath()

The collection property path relative to the "owning entity" in the mapping model - e.g. `theCollection` or `someEmbeddable.theCollection`.

Annotations
@SuppressWarnings:unused
getCollectionQueryPathback to summary
public String getCollectionQueryPath()

The "full" path. E.g. `a.theCollection` or `a.someEmbeddable.theCollection`

Annotations
@SuppressWarnings:WeakerAccess
resolveOwnerKeyColumnExpressionsback to summary
public String[] resolveOwnerKeyColumnExpressions()
Annotations
@SuppressWarnings:WeakerAccess