Definition at line 26 of file OpenStatement.cs.
Deveel.Data.Sql.Statements.OpenStatement.OpenStatement |
( |
string |
cursorName | ) |
|
|
inline |
Definition at line 27 of file OpenStatement.cs.
Defines the base class for instances that represent SQL expression tree nodes.
Deveel.Data.Sql.Statements.OpenStatement.OpenStatement |
( |
string |
cursorName, |
|
|
SqlExpression[] |
arguments |
|
) |
| |
|
inline |
Deveel.Data.Sql.Statements.OpenStatement.OpenStatement |
( |
ObjectData |
data | ) |
|
|
inlineprivate |
Definition at line 36 of file OpenStatement.cs.
SqlExpression[] Arguments
object GetValue(string key)
Defines the base class for instances that represent SQL expression tree nodes.
string GetString(string key)
override void Deveel.Data.Sql.Statements.OpenStatement.ExecuteStatement |
( |
ExecutionContext |
context | ) |
|
|
inlineprotectedvirtual |
override void Deveel.Data.Sql.Statements.OpenStatement.GetData |
( |
SerializeData |
data | ) |
|
|
inlineprotectedvirtual |
object IPreparable. Deveel.Data.Sql.Statements.OpenStatement.Prepare |
( |
IExpressionPreparer |
preparer | ) |
|
|
inlineprivate |
Converts the underlying value of this instance into an object that can be evaluated by an expression.
- Parameters
-
preparer | The context used to prepare this object. |
- Returns
- Returns an object that can be evaluated by an expression.
Implements Deveel.Data.Sql.Expressions.IPreparable.
Definition at line 45 of file OpenStatement.cs.
50 for (
int i = 0; i < args.Length; i++) {
51 args[i] = args[i].
Prepare(preparer);
OpenStatement(string cursorName)
SqlExpression[] Arguments
virtual SqlExpression Prepare(IExpressionPreparer preparer)
Defines the base class for instances that represent SQL expression tree nodes.
IStatement IPreparableStatement. Deveel.Data.Sql.Statements.OpenStatement.Prepare |
( |
IRequest |
context | ) |
|
|
inlineprivate |
Implements Deveel.Data.Sql.Statements.IPreparableStatement.
Definition at line 58 of file OpenStatement.cs.
61 var cursor = context.Query.FindCursor(
CursorName);
63 throw new StatementPrepareException(
String.Format(
"Cursor '{0}' was not found.",
CursorName));
66 var orderedParams = cursor.CursorInfo.Parameters.OrderBy(x => x.Offset).ToArray();
68 if (args.Length != orderedParams.Length)
69 throw new StatementPrepareException(
String.Format(
"Invalid number of arguments for cursor '{0}' OPEN statement.",
CursorName));
A long string in the system.
OpenStatement(string cursorName)
SqlExpression[] Arguments
Defines the base class for instances that represent SQL expression tree nodes.
SqlExpression [] Deveel.Data.Sql.Statements.OpenStatement.Arguments |
|
getset |
string Deveel.Data.Sql.Statements.OpenStatement.CursorName |
|
getprivate set |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Sql.Statements/OpenStatement.cs