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.Statements.SelectStatement.Prepared Class Reference
Inheritance diagram for Deveel.Data.Sql.Statements.SelectStatement.Prepared:
Deveel.Data.Sql.Statements.SqlStatement Deveel.Data.Sql.Statements.IStatement Deveel.Data.Serialization.ISerializable Deveel.Data.Sql.IExecutable

Public Member Functions

 Prepared (IQueryPlanNode queryPlan)
 
- Public Member Functions inherited from Deveel.Data.Sql.Statements.SqlStatement
ITable Execute (IRequest context)
 Prepares and evaluates this statement into a tabular result. More...
 

Protected Member Functions

override void GetData (SerializeData data)
 
override void ExecuteStatement (ExecutionContext context)
 
- Protected Member Functions inherited from Deveel.Data.Sql.Statements.SqlStatement
 SqlStatement ()
 
 SqlStatement (ObjectData data)
 

Properties

IQueryPlanNode QueryPlan [get, private set]
 
- Properties inherited from Deveel.Data.Sql.Statements.SqlStatement
SqlQuery SourceQuery [get, set]
 Gets the SqlQuery that is the origin of this statement. More...
 
bool IsFromQuery [get, private set]
 Gets a boolean value indicating if this object was formed from the parsing of a SqlQuery or if it was manually created. More...
 
- Properties inherited from Deveel.Data.Sql.Statements.IStatement
SqlQuery SourceQuery [get]
 

Private Member Functions

 Prepared (ObjectData data)
 

Additional Inherited Members

- Static Public Member Functions inherited from Deveel.Data.Sql.Statements.SqlStatement
static IEnumerable< SqlStatementParse (string sqlSource)
 Parses a given string into one of more statements. More...
 
static IEnumerable< SqlStatementParse (IContext context, string sqlSource)
 Parses a given string into one of more statements. More...
 
static IEnumerable< SqlStatementParse (IContext context, SqlQuery query)
 
- Package Functions inherited from Deveel.Data.Sql.Statements.SqlStatement
void SetSource (SqlQuery query)
 

Detailed Description

Definition at line 52 of file SelectStatement.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.Statements.SelectStatement.Prepared.Prepared ( IQueryPlanNode  queryPlan)
inline

Definition at line 53 of file SelectStatement.cs.

53  {
54  QueryPlan = queryPlan;
55  }
Deveel.Data.Sql.Statements.SelectStatement.Prepared.Prepared ( ObjectData  data)
inlineprivate

Definition at line 57 of file SelectStatement.cs.

57  {
58  QueryPlan = data.GetValue<IQueryPlanNode>("QueryPlan");
59  }
A node element of a query plan tree. /summary>

Member Function Documentation

override void Deveel.Data.Sql.Statements.SelectStatement.Prepared.ExecuteStatement ( ExecutionContext  context)
inlineprotectedvirtual

Reimplemented from Deveel.Data.Sql.Statements.SqlStatement.

Definition at line 67 of file SelectStatement.cs.

67  {
68  var result = QueryPlan.Evaluate(context.Request);
69  context.SetResult(result);
70  }
ITable Evaluate(IRequest context)
override void Deveel.Data.Sql.Statements.SelectStatement.Prepared.GetData ( SerializeData  data)
inlineprotectedvirtual

Reimplemented from Deveel.Data.Sql.Statements.SqlStatement.

Definition at line 63 of file SelectStatement.cs.

63  {
64  data.SetValue("QueryPlan", QueryPlan);
65  }
void SetValue(string key, Type type, object value)

Property Documentation

IQueryPlanNode Deveel.Data.Sql.Statements.SelectStatement.Prepared.QueryPlan
getprivate set

Definition at line 61 of file SelectStatement.cs.


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