C# Class CqlSharp.Linq.Query.WhereBuilder

Inheritance: BuilderBase
Afficher le fichier Open project: reuzel/CqlSharp

Méthodes publiques

Méthode Description
BuildWhere ( ProjectionExpression projection, Expression whereClause ) : ProjectionExpression
WhereBuilder ( Expression>.Dictionary parameterMap ) : CqlSharp.Linq.Expressions

Méthodes protégées

Méthode Description
VisitBinary ( BinaryExpression node ) : Expression
VisitConstant ( ConstantExpression node ) : Expression

Replaces constants with Cql Terms

VisitMethodCall ( MethodCallExpression node ) : Expression
VisitNew ( NewExpression node ) : Expression

Performs simple type checking to see if new expression will result in valid CQL type

Private Methods

Méthode Description
CreateRelation ( Expression left, Expression right, CqlExpressionType compareOp, CqlExpressionType compareOpSwitched ) : Expression

Shuffles identifier and term expression in the right order

Method Details

BuildWhere() public méthode

public BuildWhere ( ProjectionExpression projection, Expression whereClause ) : ProjectionExpression
projection CqlSharp.Linq.Expressions.ProjectionExpression
whereClause System.Linq.Expressions.Expression
Résultat CqlSharp.Linq.Expressions.ProjectionExpression

VisitBinary() protected méthode

protected VisitBinary ( BinaryExpression node ) : Expression
node System.Linq.Expressions.BinaryExpression
Résultat System.Linq.Expressions.Expression

VisitConstant() protected méthode

Replaces constants with Cql Terms
protected VisitConstant ( ConstantExpression node ) : Expression
node System.Linq.Expressions.ConstantExpression The expression to visit.
Résultat System.Linq.Expressions.Expression

VisitMethodCall() protected méthode

protected VisitMethodCall ( MethodCallExpression node ) : Expression
node System.Linq.Expressions.MethodCallExpression
Résultat System.Linq.Expressions.Expression

VisitNew() protected méthode

Performs simple type checking to see if new expression will result in valid CQL type
protected VisitNew ( NewExpression node ) : Expression
node System.Linq.Expressions.NewExpression The expression to visit.
Résultat System.Linq.Expressions.Expression

WhereBuilder() public méthode

public WhereBuilder ( Expression>.Dictionary parameterMap ) : CqlSharp.Linq.Expressions
parameterMap Expression>.Dictionary
Résultat CqlSharp.Linq.Expressions