DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Protected Member Functions | Properties | Private Member Functions | List of all members
Deveel.Data.Sql.Query.ExhaustiveSelectNode Class Reference

The node for performing a exhaustive select operation on the child node. More...

Inheritance diagram for Deveel.Data.Sql.Query.ExhaustiveSelectNode:
Deveel.Data.Sql.Query.SingleQueryPlanNode Deveel.Data.Sql.Query.IQueryPlanNode Deveel.Data.Serialization.ISerializable

Public Member Functions

 ExhaustiveSelectNode (IQueryPlanNode child, SqlExpression exp)
 
override ITable Evaluate (IRequest context)
 

Protected Member Functions

override void GetData (SerializeData data)
 
- Protected Member Functions inherited from Deveel.Data.Sql.Query.SingleQueryPlanNode
 SingleQueryPlanNode (IQueryPlanNode child)
 
 SingleQueryPlanNode (ObjectData data)
 

Properties

SqlExpression Expression [get, private set]
 The search expression. More...
 
- Properties inherited from Deveel.Data.Sql.Query.SingleQueryPlanNode
IQueryPlanNode Child [get, private set]
 Gets the single child node of the plan. More...
 

Private Member Functions

 ExhaustiveSelectNode (ObjectData data)
 

Detailed Description

The node for performing a exhaustive select operation on the child node.

This node will iterate through the entire child result and all results that evaluate to true are included in the result.

Note: The expression may have correlated sub-queries.

Definition at line 37 of file ExhaustiveSelectNode.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.Query.ExhaustiveSelectNode.ExhaustiveSelectNode ( IQueryPlanNode  child,
SqlExpression  exp 
)
inline

Definition at line 38 of file ExhaustiveSelectNode.cs.

39  : base(child) {
40  Expression = exp;
41  }
SqlExpression Expression
The search expression.
Deveel.Data.Sql.Query.ExhaustiveSelectNode.ExhaustiveSelectNode ( ObjectData  data)
inlineprivate

Definition at line 43 of file ExhaustiveSelectNode.cs.

44  : base(data) {
45  Expression = data.GetValue<SqlExpression>("Expression");
46  }
SqlExpression Expression
The search expression.
Defines the base class for instances that represent SQL expression tree nodes.

Member Function Documentation

override ITable Deveel.Data.Sql.Query.ExhaustiveSelectNode.Evaluate ( IRequest  context)
inlinevirtual

Implements Deveel.Data.Sql.Query.SingleQueryPlanNode.

Definition at line 53 of file ExhaustiveSelectNode.cs.

53  {
54  var t = Child.Evaluate(context);
55  return t.ExhaustiveSelect(context, Expression);
56  }
ITable Evaluate(IRequest context)
IQueryPlanNode Child
Gets the single child node of the plan.
SqlExpression Expression
The search expression.
override void Deveel.Data.Sql.Query.ExhaustiveSelectNode.GetData ( SerializeData  data)
inlineprotectedvirtual

Reimplemented from Deveel.Data.Sql.Query.SingleQueryPlanNode.

Definition at line 58 of file ExhaustiveSelectNode.cs.

58  {
59  data.SetValue("Expression", Expression);
60  }
void SetValue(string key, Type type, object value)
SqlExpression Expression
The search expression.

Property Documentation

SqlExpression Deveel.Data.Sql.Query.ExhaustiveSelectNode.Expression
getprivate set

The search expression.

Definition at line 51 of file ExhaustiveSelectNode.cs.


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