|
static bool | IsSystemFunction (this IQuery query, Invoke invoke) |
|
static bool | IsAggregateFunction (this IQuery query, Invoke invoke) |
|
static IRoutine | ResolveRoutine (this IQuery query, Invoke invoke) |
|
static IRoutine | ResolveSystemRoutine (this IQuery query, Invoke invoke) |
|
static IRoutine | ResolveUserRoutine (this IQuery query, Invoke invoke) |
|
static IFunction | ResolveFunction (this IQuery query, Invoke invoke) |
|
static IFunction | ResolveFunction (this IQuery query, ObjectName functionName, params SqlExpression[] args) |
|
static FunctionInfo | ResolveFunctionInfo (this IQuery query, Invoke invoke) |
|
static RoutineInfo | ResolveRoutineInfo (this IQuery query, Invoke invoke) |
|
static DataObject | InvokeSystemFunction (this IQuery query, string functionName, params SqlExpression[] args) |
|
static DataObject | InvokeFunction (this IQuery query, Invoke invoke) |
|
static DataObject | InvokeFunction (this IQuery query, ObjectName functionName, params SqlExpression[] args) |
|
Definition at line 25 of file Query.Routines.cs.
Definition at line 98 of file Query.Routines.cs.
99 var result = invoke.Execute(query);
100 return result.ReturnValue;
Definition at line 103 of file Query.Routines.cs.
105 return query.InvokeFunction(
new Invoke(functionName, args));
Definition at line 91 of file Query.Routines.cs.
93 var resolvedName =
new ObjectName(SystemSchema.SchemaName, functionName);
94 var invoke =
new Invoke(resolvedName, args);
95 return query.InvokeFunction(invoke);
Describes the name of an object within a database.
static bool Deveel.Data.Routines.Query.IsAggregateFunction |
( |
this IQuery |
query, |
|
|
Invoke |
invoke |
|
) |
| |
|
inlinestatic |
Definition at line 35 of file Query.Routines.cs.
36 var
function = query.ResolveFunction(invoke);
37 return function != null &&
function.FunctionType ==
FunctionType.Aggregate;
FunctionType
The different type of a function.
static bool Deveel.Data.Routines.Query.IsSystemFunction |
( |
this IQuery |
query, |
|
|
Invoke |
invoke |
|
) |
| |
|
inlinestatic |
Definition at line 26 of file Query.Routines.cs.
27 var info = query.ResolveFunctionInfo(invoke);
FunctionType
The different type of a function.
Definition at line 70 of file Query.Routines.cs.
71 return query.ResolveRoutine(invoke) as IFunction;
Definition at line 74 of file Query.Routines.cs.
75 var invoke =
new Invoke(functionName, args);
76 return query.ResolveFunction(invoke);
Definition at line 79 of file Query.Routines.cs.
80 return query.ResolveRoutineInfo(invoke) as FunctionInfo;
Definition at line 40 of file Query.Routines.cs.
41 var routine = query.ResolveSystemRoutine(invoke);
43 routine = query.ResolveUserRoutine(invoke);
Definition at line 83 of file Query.Routines.cs.
84 var routine = query.ResolveRoutine(invoke);
88 return routine.RoutineInfo;
static IRoutine Deveel.Data.Routines.Query.ResolveSystemRoutine |
( |
this IQuery |
query, |
|
|
Invoke |
invoke |
|
) |
| |
|
inlinestatic |
Definition at line 48 of file Query.Routines.cs.
51 var resolvers = query.Context.ResolveAllServices<IRoutineResolver>();
52 foreach (var resolver
in resolvers) {
53 var routine = resolver.ResolveRoutine(invoke, query);
Definition at line 61 of file Query.Routines.cs.
62 var routine = query.Session.ResolveRoutine(invoke);
63 if (routine != null &&
64 !query.UserCanExecute(routine.Type, invoke))
65 throw new InvalidOperationException();
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Routines/Query.Routines.cs