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

Inheritance: NHibernate.Hql.Ast.ANTLR.Tree.FromReferenceNode, ISelectExpression
Show file Open project: nhibernate/nhibernate-core Class Usage Examples

Public Properties

Property Type Description
REGRESSION_STYLE_JOIN_SUPPRESSION bool
UseThetaStyleImplicitJoins bool

Private Properties

Property Type Description
AreSame bool
BuildIllegalCollectionDereferenceException QueryException
CheckForCorrelatedSubquery void
CheckLhsIsNotCollection void
CheckSubclassOrSuperclassPropertyReference void
DereferenceCollection void
DereferenceComponent void
DereferenceEntity void
DereferenceEntityIdentifier void
DereferenceEntityJoin void
GetColumns string[]
GetDataType IType
InitText void
IsDotNode bool
IsReferenceToPrimaryKey bool
PrepareLhs IType
SetImpliedJoin void
SetPropertyNameAndPath void

Public Methods

Method Description
DotNode ( IToken token ) : System
GetImpliedJoin ( ) : NHibernate.Hql.Ast.ANTLR.Tree.FromElement
GetLhs ( ) : NHibernate.Hql.Ast.ANTLR.Tree.FromReferenceNode
Resolve ( bool generateJoin, bool implicitJoin, string classAlias, IASTNode parent ) : void
ResolveFirstChild ( ) : void
ResolveInFunctionCall ( bool generateJoin, bool implicitJoin ) : void
ResolveIndex ( IASTNode parent ) : void
ResolveSelectExpression ( ) : void
SetResolvedConstant ( string text ) : void
SetScalarColumnText ( int i ) : void

Private Methods

Method Description
AreSame ( String alias1, String alias2 ) : bool
BuildIllegalCollectionDereferenceException ( string propertyName, IASTNode lhs ) : QueryException
CheckForCorrelatedSubquery ( string methodName ) : void
CheckLhsIsNotCollection ( ) : void
CheckSubclassOrSuperclassPropertyReference ( NHibernate.Hql.Ast.ANTLR.Tree.AbstractSelectExpression lhs, String propertyName ) : void
DereferenceCollection ( NHibernate.Type.CollectionType collectionType, bool implicitJoin, bool indexed, string classAlias ) : void
DereferenceComponent ( IASTNode parent ) : void
DereferenceEntity ( NHibernate.Type.EntityType entityType, bool implicitJoin, string classAlias, bool generateJoin, IASTNode parent ) : void
DereferenceEntityIdentifier ( string propertyName, DotNode dotParent ) : void
DereferenceEntityJoin ( string classAlias, NHibernate.Type.EntityType propertyType, bool impliedJoin, IASTNode parent ) : void
GetColumns ( ) : string[]
GetDataType ( ) : IType
InitText ( ) : void
IsDotNode ( IASTNode n ) : bool
IsReferenceToPrimaryKey ( string propertyName, NHibernate.Type.EntityType owningType ) : bool

Is the given property name a reference to the primary key of the associated entity construed by the given entity type? For example, consider a fragment like order.customer.id (where order is a from-element alias). Here, we'd have: propertyName = "id" AND owningType = ManyToOneType(Customer) and are being asked to determine whether "customer.id" is a reference to customer's PK...

PrepareLhs ( ) : IType
SetImpliedJoin ( NHibernate.Hql.Ast.ANTLR.Tree.FromElement elem ) : void
SetPropertyNameAndPath ( IASTNode parent ) : void

Method Details

DotNode() public method

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

GetImpliedJoin() public method

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

GetLhs() public method

public GetLhs ( ) : NHibernate.Hql.Ast.ANTLR.Tree.FromReferenceNode
return NHibernate.Hql.Ast.ANTLR.Tree.FromReferenceNode

Resolve() public method

public Resolve ( bool generateJoin, bool implicitJoin, string classAlias, IASTNode parent ) : void
generateJoin bool
implicitJoin bool
classAlias string
parent IASTNode
return void

ResolveFirstChild() public method

public ResolveFirstChild ( ) : void
return void

ResolveInFunctionCall() public method

public ResolveInFunctionCall ( bool generateJoin, bool implicitJoin ) : void
generateJoin bool
implicitJoin bool
return void

ResolveIndex() public method

public ResolveIndex ( IASTNode parent ) : void
parent IASTNode
return void

ResolveSelectExpression() public method

public ResolveSelectExpression ( ) : void
return void

SetResolvedConstant() public method

public SetResolvedConstant ( string text ) : void
text string
return void

SetScalarColumnText() public method

public SetScalarColumnText ( int i ) : void
i int
return void

Property Details

REGRESSION_STYLE_JOIN_SUPPRESSION public static property

public static bool REGRESSION_STYLE_JOIN_SUPPRESSION
return bool

UseThetaStyleImplicitJoins public static property

public static bool UseThetaStyleImplicitJoins
return bool