DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Protected Member Functions | Package Functions | Properties | Private Member Functions | List of all members
Deveel.Data.Sql.Statements.UpdateStatement.Prepared Class Reference
Inheritance diagram for Deveel.Data.Sql.Statements.UpdateStatement.Prepared:
Deveel.Data.Sql.Statements.SqlStatement Deveel.Data.Sql.Statements.IStatement Deveel.Data.Serialization.ISerializable Deveel.Data.Sql.IExecutable

Protected Member Functions

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

Package Functions

 Prepared (ObjectName tableName, IQueryPlanNode queryPlan, SqlAssignExpression[] columns, int limit)
 
- Package Functions inherited from Deveel.Data.Sql.Statements.SqlStatement
void SetSource (SqlQuery query)
 

Properties

ObjectName TableName [get, private set]
 
IQueryPlanNode QueryPlan [get, private set]
 
SqlAssignExpression[] Columns [get, private set]
 
int Limit [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

- Public Member Functions inherited from Deveel.Data.Sql.Statements.SqlStatement
ITable Execute (IRequest context)
 Prepares and evaluates this statement into a tabular result. More...
 
- 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)
 

Detailed Description

Definition at line 77 of file UpdateStatement.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.Statements.UpdateStatement.Prepared.Prepared ( ObjectName  tableName,
IQueryPlanNode  queryPlan,
SqlAssignExpression[]  columns,
int  limit 
)
inlinepackage

Definition at line 78 of file UpdateStatement.cs.

Deveel.Data.Sql.Statements.UpdateStatement.Prepared.Prepared ( ObjectData  data)
inlineprivate

Member Function Documentation

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

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

Definition at line 100 of file UpdateStatement.cs.

100  {
101  var updateCount = context.Request.Query.UpdateTable(TableName, QueryPlan, Columns, Limit);
102  context.SetResult(updateCount);
103  }
override void Deveel.Data.Sql.Statements.UpdateStatement.Prepared.GetData ( SerializeData  data)
inlineprotectedvirtual

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

Definition at line 105 of file UpdateStatement.cs.

105  {
106  data.SetValue("TableName", TableName);
107  data.SetValue("QueryPlan", QueryPlan);
108  data.SetValue("Columns", Columns);
109  data.SetValue("Limit", Limit);
110  }
void SetValue(string key, Type type, object value)

Property Documentation

SqlAssignExpression [] Deveel.Data.Sql.Statements.UpdateStatement.Prepared.Columns
getprivate set

Definition at line 96 of file UpdateStatement.cs.

int Deveel.Data.Sql.Statements.UpdateStatement.Prepared.Limit
getprivate set

Definition at line 98 of file UpdateStatement.cs.

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

Definition at line 94 of file UpdateStatement.cs.

ObjectName Deveel.Data.Sql.Statements.UpdateStatement.Prepared.TableName
getprivate set

Definition at line 92 of file UpdateStatement.cs.


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