24 namespace Deveel.Data.Routines {
31 return Execute(routine, args, null);
35 return Execute(routine, args, context, null);
39 return Execute(routine, args, query, resolver, null);
43 return Execute(routine, query, null);
47 return Execute(routine, query, resolver, null);
58 !query.UserCanExecuteFunction(request))
59 throw new InvalidOperationException();
61 var executeContext =
new InvokeContext(request, routine, resolver, group, query);
62 return routine.
Execute(executeContext);
67 if (args != null && args.Length > 0) {
70 for (
int i = 0; i < args.Length; i++) {
InvokeResult Execute(InvokeContext context)
ObjectName FullName
Gets the fully qualified name of the object used to resolve it uniquely within the database...
The contract to define a program routine that can interact with database objects. ...
static InvokeResult Execute(this IRoutine routine, SqlExpression[] args, IQuery context)
static InvokeResult Execute(this IRoutine routine, IQuery query, IVariableResolver resolver, IGroupResolver group)
static InvokeResult Execute(this IRoutine routine, SqlExpression[] args, IQuery query, IVariableResolver resolver)
static InvokeResult Execute(this IRoutine routine, IQuery query, IVariableResolver resolver)
Defines a contract used by grouping functions to find information about the current group being evalu...
Represents the result of the execution of a routine.
Represents a dynamic object that encapsulates a defined SqlType and a compatible constant ISqlObject ...
The information about the invocation of a routine, including the full name and arguments (as SqlExpre...
static InvokeResult Execute(this IRoutine routine, SqlExpression[] args)
An interface to resolve a variable name to a constant object.
static InvokeResult Execute(this IRoutine routine, IQuery query)
static InvokeResult Execute(this IRoutine routine, SqlExpression[] args, IQuery query, IVariableResolver resolver, IGroupResolver group)
static InvokeResult Execute(this IRoutine routine)
Defines the base class for instances that represent SQL expression tree nodes.
static SqlConstantExpression Constant(object value)
static InvokeResult Execute(this IRoutine routine, DataObject[] args)