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

public Class FkRefNode

extends HqlSqlWalkerNode
implements ResolvableNode, DisplayableNode, PathNode
Class Inheritance
All Implemented Interfaces
org.hibernate.hql.internal.ast.tree.PathNode, org.hibernate.hql.internal.ast.tree.DisplayableNode, org.hibernate.hql.internal.ast.tree.ResolvableNode
Imports
org.hibernate.QueryException, org.hibernate.hql.internal.ast.InvalidPathException, org.hibernate.type.BasicType, .CompositeType, .ManyToOneType, .Type, antlr.SemanticException, antlr.collections.AST

Represents a `fk()` pseudo-function
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private String[]
private Type
private FromReferenceNode

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
getDisplayText()

Implements org.hibernate.hql.internal.ast.tree.DisplayableNode.getDisplayText.

Returns additional display text for the AST node.
public String
getPath()

Implements org.hibernate.hql.internal.ast.tree.PathNode.getPath.

Returns the full path name represented by the node.
public void
resolve(boolean generateJoin, boolean implicitJoin)

Implements org.hibernate.hql.internal.ast.tree.ResolvableNode.resolve.

Does the work of resolving an identifier or a dot, but without a parent predicate node or parent node or alias
public void
resolve(boolean generateJoin, boolean implicitJoin, String classAlias, AST parent, AST parentPredicate)

Implements org.hibernate.hql.internal.ast.tree.ResolvableNode.resolve.

Does the work of resolving an identifier or a dot
public void
resolve(boolean generateJoin, boolean implicitJoin, String classAlias, AST parent)

Implements org.hibernate.hql.internal.ast.tree.ResolvableNode.resolve.

Does the work of resolving an identifier or a dot, but without a parent predicate node
public void
resolve(boolean generateJoin, boolean implicitJoin, String classAlias)

Implements org.hibernate.hql.internal.ast.tree.ResolvableNode.resolve.

Does the work of resolving an identifier or a dot, but without a parent predicate node or parent node
public void
resolveIndex(AST parent)

Implements org.hibernate.hql.internal.ast.tree.ResolvableNode.resolveIndex.

Does the work of resolving an index [].
public void
resolveInFunctionCall(boolean generateJoin, boolean implicitJoin)

Implements org.hibernate.hql.internal.ast.tree.ResolvableNode.resolveInFunctionCall.

Does the work of resolving inside of the scope of a function call
private FromReferenceNode
Inherited from org.hibernate.hql.internal.ast.tree.HqlSqlWalkerNode:
getAliasGeneratorgetASTFactorygetSessionFactoryHelpergetWalkerinitialize

Field Detail

columnsback to summary
private String[] columns
fkTypeback to summary
private Type fkType
toOnePathback to summary
private FromReferenceNode toOnePath

Constructor Detail

FkRefNodeback to summary
public FkRefNode()

Method Detail

getDisplayTextback to summary
public String getDisplayText()

Implements org.hibernate.hql.internal.ast.tree.DisplayableNode.getDisplayText.

Doc from org.hibernate.hql.internal.ast.tree.DisplayableNode.getDisplayText.

Returns additional display text for the AST node.

Returns:String

String - The additional display text.

Annotations
@Override
getPathback to summary
public String getPath()

Implements org.hibernate.hql.internal.ast.tree.PathNode.getPath.

Doc from org.hibernate.hql.internal.ast.tree.PathNode.getPath.

Returns the full path name represented by the node.

Returns:String

the full path name represented by the node.

Annotations
@Override
resolveback to summary
public void resolve(boolean generateJoin, boolean implicitJoin) throws SemanticException

Implements org.hibernate.hql.internal.ast.tree.ResolvableNode.resolve.

Doc from org.hibernate.hql.internal.ast.tree.ResolvableNode.resolve.

Does the work of resolving an identifier or a dot, but without a parent predicate node or parent node or alias

Annotations
@Override
resolveback to summary
public void resolve(boolean generateJoin, boolean implicitJoin, String classAlias, AST parent, AST parentPredicate) throws SemanticException

Implements org.hibernate.hql.internal.ast.tree.ResolvableNode.resolve.

Doc from org.hibernate.hql.internal.ast.tree.ResolvableNode.resolve.

Does the work of resolving an identifier or a dot

Annotations
@Override
resolveback to summary
public void resolve(boolean generateJoin, boolean implicitJoin, String classAlias, AST parent) throws SemanticException

Implements org.hibernate.hql.internal.ast.tree.ResolvableNode.resolve.

Doc from org.hibernate.hql.internal.ast.tree.ResolvableNode.resolve.

Does the work of resolving an identifier or a dot, but without a parent predicate node

Annotations
@Override
resolveback to summary
public void resolve(boolean generateJoin, boolean implicitJoin, String classAlias) throws SemanticException

Implements org.hibernate.hql.internal.ast.tree.ResolvableNode.resolve.

Doc from org.hibernate.hql.internal.ast.tree.ResolvableNode.resolve.

Does the work of resolving an identifier or a dot, but without a parent predicate node or parent node

Annotations
@Override
resolveIndexback to summary
public void resolveIndex(AST parent) throws SemanticException

Implements org.hibernate.hql.internal.ast.tree.ResolvableNode.resolveIndex.

Doc from org.hibernate.hql.internal.ast.tree.ResolvableNode.resolveIndex.

Does the work of resolving an index [].

Annotations
@Override
resolveInFunctionCallback to summary
public void resolveInFunctionCall(boolean generateJoin, boolean implicitJoin) throws SemanticException

Implements org.hibernate.hql.internal.ast.tree.ResolvableNode.resolveInFunctionCall.

Doc from org.hibernate.hql.internal.ast.tree.ResolvableNode.resolveInFunctionCall.

Does the work of resolving inside of the scope of a function call

Annotations
@Override
resolveToOnePathback to summary
private FromReferenceNode resolveToOnePath()