C# Class NHibernate.Hql.Ast.ANTLR.Tree.FromClause

Inheritance: NHibernate.Hql.Ast.ANTLR.Tree.HqlSqlWalkerNode, IDisplayableNode
Exibir arquivo Open project: nhibernate/nhibernate-core Class Usage Examples

Private Properties

Property Type Description
AddChild void
CheckForDuplicateClassAlias void
CollectionFetchPredicate bool
ExplicitFromPredicate bool
FindIntendedAliasedFromElementBasedOnCrazyJPARequirements NHibernate.Hql.Ast.ANTLR.Tree.FromElement
FindJoinByPathLocal NHibernate.Hql.Ast.ANTLR.Tree.FromElement
FromElementPredicate bool
ProjectionListPredicate bool

Public Methods

Method Description
AddCollectionJoinFromElementByPath ( string path, NHibernate.Hql.Ast.ANTLR.Tree.FromElement destination ) : void
AddDuplicateAlias ( string alias, NHibernate.Hql.Ast.ANTLR.Tree.FromElement element ) : void
AddFromElement ( string path, IASTNode alias ) : NHibernate.Hql.Ast.ANTLR.Tree.FromElement

Adds a new from element to the from node.

AddJoinByPathMap ( string path, NHibernate.Hql.Ast.ANTLR.Tree.FromElement destination ) : void
ContainsClassAlias ( string alias ) : bool

Returns true if the from node contains the class alias name.

ContainsTableAlias ( String alias ) : bool

Returns true if the from node contains the table alias name.

FindCollectionJoin ( String path ) : NHibernate.Hql.Ast.ANTLR.Tree.FromElement
FindJoinByPath ( string path ) : NHibernate.Hql.Ast.ANTLR.Tree.FromElement

Look for an existing implicit or explicit join by the given path.

FromClause ( IToken token ) : System
GetCollectionFetches ( ) : IList
GetDisplayText ( ) : string
GetExplicitFromElements ( ) : IList
GetFromElement ( ) : NHibernate.Hql.Ast.ANTLR.Tree.FromElement
GetFromElement ( string aliasOrClassName ) : NHibernate.Hql.Ast.ANTLR.Tree.FromElement

Retrieves the from-element represented by the given alias.

GetFromElements ( ) : IList

Returns the list of from elements in order.

GetProjectionList ( ) : IList

Returns the list of from elements that will be part of the result set.

IsFromElementAlias ( string possibleAlias ) : bool

Convenience method to check whether a given token represents a from-element alias.

RegisterFromElement ( NHibernate.Hql.Ast.ANTLR.Tree.FromElement element ) : void
Resolve ( ) : void
SetParentFromClause ( FromClause parentFromClause ) : void
ToString ( ) : string

Private Methods

Method Description
AddChild ( FromClause fromClause ) : void
CheckForDuplicateClassAlias ( string classAlias ) : void
CollectionFetchPredicate ( IASTNode node ) : bool
ExplicitFromPredicate ( IASTNode node ) : bool
FindIntendedAliasedFromElementBasedOnCrazyJPARequirements ( string specifiedAlias ) : NHibernate.Hql.Ast.ANTLR.Tree.FromElement
FindJoinByPathLocal ( string path ) : NHibernate.Hql.Ast.ANTLR.Tree.FromElement
FromElementPredicate ( IASTNode node ) : bool
ProjectionListPredicate ( IASTNode node ) : bool

Method Details

AddCollectionJoinFromElementByPath() public method

public AddCollectionJoinFromElementByPath ( string path, NHibernate.Hql.Ast.ANTLR.Tree.FromElement destination ) : void
path string
destination NHibernate.Hql.Ast.ANTLR.Tree.FromElement
return void

AddDuplicateAlias() public method

public AddDuplicateAlias ( string alias, NHibernate.Hql.Ast.ANTLR.Tree.FromElement element ) : void
alias string
element NHibernate.Hql.Ast.ANTLR.Tree.FromElement
return void

AddFromElement() public method

Adds a new from element to the from node.
public AddFromElement ( string path, IASTNode alias ) : NHibernate.Hql.Ast.ANTLR.Tree.FromElement
path string The reference to the class.
alias IASTNode The alias AST.
return NHibernate.Hql.Ast.ANTLR.Tree.FromElement

AddJoinByPathMap() public method

public AddJoinByPathMap ( string path, NHibernate.Hql.Ast.ANTLR.Tree.FromElement destination ) : void
path string
destination NHibernate.Hql.Ast.ANTLR.Tree.FromElement
return void

ContainsClassAlias() public method

Returns true if the from node contains the class alias name.
public ContainsClassAlias ( string alias ) : bool
alias string The HQL class alias name.
return bool

ContainsTableAlias() public method

Returns true if the from node contains the table alias name.
public ContainsTableAlias ( String alias ) : bool
alias String The SQL table alias name.
return bool

FindCollectionJoin() public method

public FindCollectionJoin ( String path ) : NHibernate.Hql.Ast.ANTLR.Tree.FromElement
path String
return NHibernate.Hql.Ast.ANTLR.Tree.FromElement

FindJoinByPath() public method

Look for an existing implicit or explicit join by the given path.
public FindJoinByPath ( string path ) : NHibernate.Hql.Ast.ANTLR.Tree.FromElement
path string
return NHibernate.Hql.Ast.ANTLR.Tree.FromElement

FromClause() public method

public FromClause ( IToken token ) : System
token IToken
return System

GetCollectionFetches() public method

public GetCollectionFetches ( ) : IList
return IList

GetDisplayText() public method

public GetDisplayText ( ) : string
return string

GetExplicitFromElements() public method

public GetExplicitFromElements ( ) : IList
return IList

GetFromElement() public method

public GetFromElement ( ) : NHibernate.Hql.Ast.ANTLR.Tree.FromElement
return NHibernate.Hql.Ast.ANTLR.Tree.FromElement

GetFromElement() public method

Retrieves the from-element represented by the given alias.
public GetFromElement ( string aliasOrClassName ) : NHibernate.Hql.Ast.ANTLR.Tree.FromElement
aliasOrClassName string The alias by which to locate the from-element.
return NHibernate.Hql.Ast.ANTLR.Tree.FromElement

GetFromElements() public method

Returns the list of from elements in order.
public GetFromElements ( ) : IList
return IList

GetProjectionList() public method

Returns the list of from elements that will be part of the result set.
public GetProjectionList ( ) : IList
return IList

IsFromElementAlias() public method

Convenience method to check whether a given token represents a from-element alias.
public IsFromElementAlias ( string possibleAlias ) : bool
possibleAlias string The potential from-element alias to check.
return bool

RegisterFromElement() public method

public RegisterFromElement ( NHibernate.Hql.Ast.ANTLR.Tree.FromElement element ) : void
element NHibernate.Hql.Ast.ANTLR.Tree.FromElement
return void

Resolve() public method

public Resolve ( ) : void
return void

SetParentFromClause() public method

public SetParentFromClause ( FromClause parentFromClause ) : void
parentFromClause FromClause
return void

ToString() public method

public ToString ( ) : string
return string