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

Public Member Functions

 ReferenceDiscover ()
 
override SqlExpression VisitReference (SqlReferenceExpression reference)
 
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 VisitVariableReference (SqlVariableReferenceExpression reference)
 
virtual SqlExpression VisitAssign (SqlAssignExpression assign)
 
virtual SqlExpression VisitConditional (SqlConditionalExpression conditional)
 
virtual SqlExpression VisitTuple (SqlTupleExpression expression)
 
virtual SqlExpression VisitQuery (SqlQueryExpression query)
 

Properties

List< ObjectNameReferences [get, private set]
 

Detailed Description

Definition at line 31 of file ExpressionReferenceExplorer.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.Query.ExpressionReferenceExplorer.ReferenceDiscover.ReferenceDiscover ( )
inline

Definition at line 32 of file ExpressionReferenceExplorer.cs.

32  {
33  References = new List<ObjectName>();
34  }

Member Function Documentation

override SqlExpression Deveel.Data.Sql.Query.ExpressionReferenceExplorer.ReferenceDiscover.VisitConstant ( SqlConstantExpression  constant)
inlinevirtual

Parameters
constant
Returns

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

Definition at line 43 of file ExpressionReferenceExplorer.cs.

43  {
44  var value = constant.Value;
45  // TODO: if this is an array ...
46 
47  return base.VisitConstant(constant);
48  }
DataObject Value
Gets the constant value of the expression.
override SqlExpression Deveel.Data.Sql.Query.ExpressionReferenceExplorer.ReferenceDiscover.VisitReference ( SqlReferenceExpression  reference)
inlinevirtual

Parameters
reference
Returns

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

Definition at line 38 of file ExpressionReferenceExplorer.cs.

38  {
39  References.Add(reference.ReferenceName);
40  return base.VisitReference(reference);
41  }
ObjectName ReferenceName
Gets the name of the object referenced by the expression.

Property Documentation

List<ObjectName> Deveel.Data.Sql.Query.ExpressionReferenceExplorer.ReferenceDiscover.References
getprivate set

Definition at line 36 of file ExpressionReferenceExplorer.cs.


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