C# Class NHibernate.Linq.Visitors.HqlGeneratorExpressionTreeVisitor

Inheritance: IHqlExpressionVisitor
Mostrar archivo Open project: nhibernate/nhibernate-core Class Usage Examples

Public Methods

Method Description
HqlGeneratorExpressionTreeVisitor ( NHibernate.Linq.Visitors.VisitorParameters parameters ) : System
Visit ( Expression expression ) : HqlTreeNode
Visit ( Expression expression, NHibernate.Linq.Visitors.VisitorParameters parameters ) : HqlTreeNode

Protected Methods

Method Description
VisitBinaryExpression ( BinaryExpression expression ) : HqlTreeNode
VisitConditionalExpression ( ConditionalExpression expression ) : HqlTreeNode
VisitConstantExpression ( ConstantExpression expression ) : HqlTreeNode
VisitExpression ( Expression expression ) : HqlTreeNode
VisitLambdaExpression ( LambdaExpression expression ) : HqlTreeNode
VisitMemberExpression ( MemberExpression expression ) : HqlTreeNode
VisitMethodCallExpression ( MethodCallExpression expression ) : HqlTreeNode
VisitNewArrayExpression ( NewArrayExpression expression ) : HqlTreeNode
VisitNhAverage ( NHibernate.Linq.Expressions.NhAverageExpression expression ) : HqlTreeNode
VisitNhCount ( NHibernate.Linq.Expressions.NhCountExpression expression ) : HqlTreeNode
VisitNhDistinct ( NHibernate.Linq.Expressions.NhDistinctExpression expression ) : HqlTreeNode
VisitNhMax ( NHibernate.Linq.Expressions.NhMaxExpression expression ) : HqlTreeNode
VisitNhMin ( NHibernate.Linq.Expressions.NhMinExpression expression ) : HqlTreeNode
VisitNhStar ( NHibernate.Linq.Expressions.NhStarExpression expression ) : HqlTreeNode
VisitNhSum ( NHibernate.Linq.Expressions.NhSumExpression expression ) : HqlTreeNode
VisitParameterExpression ( System.Linq.Expressions.ParameterExpression expression ) : HqlTreeNode
VisitQuerySourceReferenceExpression ( QuerySourceReferenceExpression expression ) : HqlTreeNode
VisitSubQueryExpression ( SubQueryExpression expression ) : HqlTreeNode
VisitUnaryExpression ( UnaryExpression expression ) : HqlTreeNode

Private Methods

Method Description
GetExpressionForBooleanEquality ( Expression @operator, HqlExpression original ) : HqlExpression
TranslateEqualityComparison ( BinaryExpression expression, HqlExpression lhs, HqlExpression rhs, HqlTreeNode>.Func applyNullComparison, Func applyRegularComparison ) : HqlTreeNode
VisitInvocationExpression ( InvocationExpression expression ) : HqlTreeNode
VisitTypeBinaryExpression ( TypeBinaryExpression expression ) : HqlTreeNode
VisitVBStringComparisonExpression ( VBStringComparisonExpression expression ) : HqlTreeNode

Method Details

HqlGeneratorExpressionTreeVisitor() public method

public HqlGeneratorExpressionTreeVisitor ( NHibernate.Linq.Visitors.VisitorParameters parameters ) : System
parameters NHibernate.Linq.Visitors.VisitorParameters
return System

Visit() public method

public Visit ( Expression expression ) : HqlTreeNode
expression System.Linq.Expressions.Expression
return NHibernate.Hql.Ast.HqlTreeNode

Visit() public static method

public static Visit ( Expression expression, NHibernate.Linq.Visitors.VisitorParameters parameters ) : HqlTreeNode
expression System.Linq.Expressions.Expression
parameters NHibernate.Linq.Visitors.VisitorParameters
return NHibernate.Hql.Ast.HqlTreeNode

VisitBinaryExpression() protected method

protected VisitBinaryExpression ( BinaryExpression expression ) : HqlTreeNode
expression System.Linq.Expressions.BinaryExpression
return NHibernate.Hql.Ast.HqlTreeNode

VisitConditionalExpression() protected method

protected VisitConditionalExpression ( ConditionalExpression expression ) : HqlTreeNode
expression System.Linq.Expressions.ConditionalExpression
return NHibernate.Hql.Ast.HqlTreeNode

VisitConstantExpression() protected method

protected VisitConstantExpression ( ConstantExpression expression ) : HqlTreeNode
expression System.Linq.Expressions.ConstantExpression
return NHibernate.Hql.Ast.HqlTreeNode

VisitExpression() protected method

protected VisitExpression ( Expression expression ) : HqlTreeNode
expression System.Linq.Expressions.Expression
return NHibernate.Hql.Ast.HqlTreeNode

VisitLambdaExpression() protected method

protected VisitLambdaExpression ( LambdaExpression expression ) : HqlTreeNode
expression System.Linq.Expressions.LambdaExpression
return NHibernate.Hql.Ast.HqlTreeNode

VisitMemberExpression() protected method

protected VisitMemberExpression ( MemberExpression expression ) : HqlTreeNode
expression System.Linq.Expressions.MemberExpression
return NHibernate.Hql.Ast.HqlTreeNode

VisitMethodCallExpression() protected method

protected VisitMethodCallExpression ( MethodCallExpression expression ) : HqlTreeNode
expression System.Linq.Expressions.MethodCallExpression
return NHibernate.Hql.Ast.HqlTreeNode

VisitNewArrayExpression() protected method

protected VisitNewArrayExpression ( NewArrayExpression expression ) : HqlTreeNode
expression System.Linq.Expressions.NewArrayExpression
return NHibernate.Hql.Ast.HqlTreeNode

VisitNhAverage() protected method

protected VisitNhAverage ( NHibernate.Linq.Expressions.NhAverageExpression expression ) : HqlTreeNode
expression NHibernate.Linq.Expressions.NhAverageExpression
return NHibernate.Hql.Ast.HqlTreeNode

VisitNhCount() protected method

protected VisitNhCount ( NHibernate.Linq.Expressions.NhCountExpression expression ) : HqlTreeNode
expression NHibernate.Linq.Expressions.NhCountExpression
return NHibernate.Hql.Ast.HqlTreeNode

VisitNhDistinct() protected method

protected VisitNhDistinct ( NHibernate.Linq.Expressions.NhDistinctExpression expression ) : HqlTreeNode
expression NHibernate.Linq.Expressions.NhDistinctExpression
return NHibernate.Hql.Ast.HqlTreeNode

VisitNhMax() protected method

protected VisitNhMax ( NHibernate.Linq.Expressions.NhMaxExpression expression ) : HqlTreeNode
expression NHibernate.Linq.Expressions.NhMaxExpression
return NHibernate.Hql.Ast.HqlTreeNode

VisitNhMin() protected method

protected VisitNhMin ( NHibernate.Linq.Expressions.NhMinExpression expression ) : HqlTreeNode
expression NHibernate.Linq.Expressions.NhMinExpression
return NHibernate.Hql.Ast.HqlTreeNode

VisitNhStar() protected method

protected VisitNhStar ( NHibernate.Linq.Expressions.NhStarExpression expression ) : HqlTreeNode
expression NHibernate.Linq.Expressions.NhStarExpression
return NHibernate.Hql.Ast.HqlTreeNode

VisitNhSum() protected method

protected VisitNhSum ( NHibernate.Linq.Expressions.NhSumExpression expression ) : HqlTreeNode
expression NHibernate.Linq.Expressions.NhSumExpression
return NHibernate.Hql.Ast.HqlTreeNode

VisitParameterExpression() protected method

protected VisitParameterExpression ( System.Linq.Expressions.ParameterExpression expression ) : HqlTreeNode
expression System.Linq.Expressions.ParameterExpression
return NHibernate.Hql.Ast.HqlTreeNode

VisitQuerySourceReferenceExpression() protected method

protected VisitQuerySourceReferenceExpression ( QuerySourceReferenceExpression expression ) : HqlTreeNode
expression QuerySourceReferenceExpression
return NHibernate.Hql.Ast.HqlTreeNode

VisitSubQueryExpression() protected method

protected VisitSubQueryExpression ( SubQueryExpression expression ) : HqlTreeNode
expression SubQueryExpression
return NHibernate.Hql.Ast.HqlTreeNode

VisitUnaryExpression() protected method

protected VisitUnaryExpression ( UnaryExpression expression ) : HqlTreeNode
expression System.Linq.Expressions.UnaryExpression
return NHibernate.Hql.Ast.HqlTreeNode