DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Private Attributes | List of all members
Deveel.Data.Sql.Query.QueryExpressionExtensions.SubQueryDiscovery Class Reference
Inheritance diagram for Deveel.Data.Sql.Query.QueryExpressionExtensions.SubQueryDiscovery:
Deveel.Data.Sql.Expressions.SqlExpressionVisitor

Public Member Functions

bool Verify (SqlExpression expression)
 
override SqlExpression VisitConstant (SqlConstantExpression constant)
 
- Public Member Functions inherited from Deveel.Data.Sql.Expressions.SqlExpressionVisitor
virtual SqlExpression Visit (SqlExpression expression)
 Visits a given SQL expression. More...
 
virtual SqlExpression[] VisitExpressionList (SqlExpression[] list)
 Visits a list of expressions given. More...
 
virtual SqlExpression VisitFunctionCall (SqlFunctionCallExpression expression)
 Visits the expression that calls the function defined. More...
 
virtual SqlExpression VisitBinary (SqlBinaryExpression binaryEpression)
 
virtual SqlExpression VisitUnary (SqlUnaryExpression unary)
 
virtual SqlExpression VisitCast (SqlCastExpression castExpression)
 
virtual SqlExpression VisitReference (SqlReferenceExpression reference)
 
virtual SqlExpression VisitVariableReference (SqlVariableReferenceExpression reference)
 
virtual SqlExpression VisitAssign (SqlAssignExpression assign)
 
virtual SqlExpression VisitConditional (SqlConditionalExpression conditional)
 
virtual SqlExpression VisitTuple (SqlTupleExpression expression)
 
virtual SqlExpression VisitQuery (SqlQueryExpression query)
 

Private Attributes

bool hasSubQuery
 

Detailed Description

Definition at line 96 of file QueryExpressionExtensions.cs.

Member Function Documentation

bool Deveel.Data.Sql.Query.QueryExpressionExtensions.SubQueryDiscovery.Verify ( SqlExpression  expression)
inline

Definition at line 99 of file QueryExpressionExtensions.cs.

99  {
100  Visit(expression);
101  return hasSubQuery;
102  }
virtual SqlExpression Visit(SqlExpression expression)
Visits a given SQL expression.
override SqlExpression Deveel.Data.Sql.Query.QueryExpressionExtensions.SubQueryDiscovery.VisitConstant ( SqlConstantExpression  constant)
inlinevirtual

Parameters
constant
Returns

Reimplemented from Deveel.Data.Sql.Expressions.SqlExpressionVisitor.

Definition at line 104 of file QueryExpressionExtensions.cs.

104  {
105  if (constant.Value.Type is QueryType)
106  hasSubQuery = true;
107 
108  return base.VisitConstant(constant);
109  }
SqlType Type
Gets the SqlType that defines the object properties
Definition: DataObject.cs:78
DataObject Value
Gets the constant value of the expression.

Member Data Documentation

bool Deveel.Data.Sql.Query.QueryExpressionExtensions.SubQueryDiscovery.hasSubQuery
private

Definition at line 97 of file QueryExpressionExtensions.cs.


The documentation for this class was generated from the following file: