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

Public Member Functions

 CloseStatement (string cursorName)
 
- 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 ExecuteStatement (ExecutionContext context)
 
override void GetData (SerializeData data)
 
- Protected Member Functions inherited from Deveel.Data.Sql.Statements.SqlStatement
 SqlStatement ()
 
 SqlStatement (ObjectData data)
 

Properties

string CursorName [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

 CloseStatement (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 24 of file CloseStatement.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.Statements.CloseStatement.CloseStatement ( string  cursorName)
inline

Definition at line 25 of file CloseStatement.cs.

25  {
26  if (String.IsNullOrEmpty(cursorName))
27  throw new ArgumentNullException("cursorName");
28 
29  CursorName = cursorName;
30  }
A long string in the system.
Deveel.Data.Sql.Statements.CloseStatement.CloseStatement ( ObjectData  data)
inlineprivate

Definition at line 32 of file CloseStatement.cs.

32  {
33  CursorName = data.GetString("CursorName");
34  }

Member Function Documentation

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

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

Definition at line 38 of file CloseStatement.cs.

38  {
39  context.Request.Query.CloseCursor(CursorName);
40  }
override void Deveel.Data.Sql.Statements.CloseStatement.GetData ( SerializeData  data)
inlineprotectedvirtual

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

Definition at line 42 of file CloseStatement.cs.

42  {
43  data.SetValue("CursorName", CursorName);
44  }
void SetValue(string key, Type type, object value)

Property Documentation

string Deveel.Data.Sql.Statements.CloseStatement.CursorName
getprivate set

Definition at line 36 of file CloseStatement.cs.


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