|
static bool | DeclareCursor (this IContext context, CursorInfo cursorInfo) |
|
static void | DeclareCursor (this IContext context, string cursorName, SqlQueryExpression query) |
|
static void | DeclareCursor (this IContext context, string cursorName, CursorFlags flags, SqlQueryExpression query) |
|
static void | DeclareInsensitiveCursor (this IContext context, string cursorName, SqlQueryExpression query) |
|
static void | DeclareInsensitiveCursor (this IContext context, string cursorName, SqlQueryExpression query, bool withScroll) |
|
static bool | CursorExists (this IContext context, string cursorName) |
|
static Cursor | FindCursor (this IContext context, string cursorName) |
|
static bool | DropCursor (this IContext context, string cursorName) |
|
static bool | CloseCursor (this IContext context, string cursorName) |
|
static bool | OpenCursor (this IContext context, IRequest request, string cursorName, params SqlExpression[] args) |
|
Definition at line 23 of file ContextExtensions.cs.
static bool Deveel.Data.Sql.Cursors.ContextExtensions.CloseCursor |
( |
this IContext |
context, |
|
|
string |
cursorName |
|
) |
| |
|
inlinestatic |
static bool Deveel.Data.Sql.Cursors.ContextExtensions.CursorExists |
( |
this IContext |
context, |
|
|
string |
cursorName |
|
) |
| |
|
inlinestatic |
Definition at line 64 of file ContextExtensions.cs.
65 var currentContext = context;
66 while (currentContext != null) {
67 if (currentContext is ICursorScope) {
68 var scope = (ICursorScope) currentContext;
69 if (scope.CursorExists(cursorName))
73 currentContext = currentContext.Parent;
static bool Deveel.Data.Sql.Cursors.ContextExtensions.DeclareCursor |
( |
this IContext |
context, |
|
|
CursorInfo |
cursorInfo |
|
) |
| |
|
inlinestatic |
Definition at line 24 of file ContextExtensions.cs.
25 if (context.CursorExists(cursorInfo.CursorName))
26 throw new InvalidOperationException(
String.Format(
"A cursor named '{0}' was already defined in the context.",
27 cursorInfo.CursorName));
29 var currentContext = context;
30 while (currentContext != null) {
31 if (currentContext is ICursorScope) {
32 var scope = (ICursorScope)currentContext;
33 scope.DeclareCursor(cursorInfo);
37 currentContext = currentContext.Parent;
A long string in the system.
static void Deveel.Data.Sql.Cursors.ContextExtensions.DeclareCursor |
( |
this IContext |
context, |
|
|
string |
cursorName, |
|
|
SqlQueryExpression |
query |
|
) |
| |
|
inlinestatic |
Definition at line 43 of file ContextExtensions.cs.
static bool DeclareCursor(this IContext context, CursorInfo cursorInfo)
Definition at line 47 of file ContextExtensions.cs.
48 context.DeclareCursor(
new CursorInfo(cursorName, flags, query));
static void Deveel.Data.Sql.Cursors.ContextExtensions.DeclareInsensitiveCursor |
( |
this IContext |
context, |
|
|
string |
cursorName, |
|
|
SqlQueryExpression |
query |
|
) |
| |
|
inlinestatic |
Definition at line 51 of file ContextExtensions.cs.
static void DeclareInsensitiveCursor(this IContext context, string cursorName, SqlQueryExpression query)
static void Deveel.Data.Sql.Cursors.ContextExtensions.DeclareInsensitiveCursor |
( |
this IContext |
context, |
|
|
string |
cursorName, |
|
|
SqlQueryExpression |
query, |
|
|
bool |
withScroll |
|
) |
| |
|
inlinestatic |
static bool Deveel.Data.Sql.Cursors.ContextExtensions.DropCursor |
( |
this IContext |
context, |
|
|
string |
cursorName |
|
) |
| |
|
inlinestatic |
Definition at line 95 of file ContextExtensions.cs.
96 var currentContext = context;
97 while (currentContext != null) {
98 if (currentContext is ICursorScope) {
99 var scope = (ICursorScope)currentContext;
100 if (scope.CursorExists(cursorName))
101 return scope.DropCursor(cursorName);
104 currentContext = currentContext.Parent;
static Cursor Deveel.Data.Sql.Cursors.ContextExtensions.FindCursor |
( |
this IContext |
context, |
|
|
string |
cursorName |
|
) |
| |
|
inlinestatic |
Definition at line 79 of file ContextExtensions.cs.
80 var currentContext = context;
81 while (currentContext != null) {
82 if (currentContext is ICursorScope) {
83 var scope = (ICursorScope)currentContext;
84 var cursor = scope.GetCursor(cursorName);
89 currentContext = currentContext.Parent;
static bool Deveel.Data.Sql.Cursors.ContextExtensions.OpenCursor |
( |
this IContext |
context, |
|
|
IRequest |
request, |
|
|
string |
cursorName, |
|
|
params SqlExpression[] |
args |
|
) |
| |
|
inlinestatic |
Definition at line 119 of file ContextExtensions.cs.
120 var cursor = context.FindCursor(cursorName);
125 throw new NotImplementedException();
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Sql.Cursors/ContextExtensions.cs