DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
A system routine that returns a value at the end of its execution. More...
Classes | |
class | DynamicSqlType |
Public Member Functions | |
abstract InvokeResult | Execute (InvokeContext context) |
Executes the function and provides a result. More... | |
SqlType | ReturnType () |
Gets the function static return type More... | |
virtual SqlType | ReturnType (InvokeContext context) |
Resolves the function return type against the given context. More... | |
Static Public Attributes | |
static readonly SqlType | DynamicType = new DynamicSqlType() |
A special SqlType that is used to mark an argument of a function as dynamic . More... | |
Protected Member Functions | |
Function (FunctionInfo functionInfo) | |
Function (ObjectName name, RoutineParameter[] parameters, FunctionType functionType) | |
Function (ObjectName name, RoutineParameter[] parameters, SqlType returnType) | |
Function (ObjectName name, RoutineParameter[] parameters, SqlType returnType, FunctionType functionType) | |
Properties | |
FunctionType | FunctionType [get] |
FunctionInfo | FunctionInfo [get, private set] |
ObjectName | FunctionName [get] |
RoutineInfo IRoutine. | RoutineInfo [get] |
RoutineType IRoutine. | Type [get] |
DbObjectType IDbObject. | ObjectType [get] |
ObjectName IDbObject. | FullName [get] |
Properties inherited from Deveel.Data.Routines.IFunction | |
FunctionType | FunctionType [get] |
Gets the type of function. More... | |
Properties inherited from Deveel.Data.Routines.IRoutine | |
RoutineType | Type [get] |
Gets the type of routine that will be executed. More... | |
RoutineInfo | RoutineInfo [get] |
Properties inherited from Deveel.Data.Sql.IDbObject | |
ObjectName | FullName [get] |
Gets the fully qualified name of the object used to resolve it uniquely within the database. More... | |
DbObjectType | ObjectType [get] |
Gets the type of database object that the implementation is for More... | |
A system routine that returns a value at the end of its execution.
This class provides the base features for constructing functions.
Definition at line 31 of file Function.cs.
|
inlineprotected |
Definition at line 41 of file Function.cs.
|
inlineprotected |
Definition at line 48 of file Function.cs.
|
inlineprotected |
Definition at line 52 of file Function.cs.
|
inlineprotected |
Definition at line 56 of file Function.cs.
|
pure virtual |
Executes the function and provides a result.
context | The context of the execution. |
Implements Deveel.Data.Routines.IRoutine.
Implemented in Deveel.Data.Routines.FunctionProvider.DelegateFunction, Deveel.Data.Routines.UserFunction, Deveel.Data.Routines.AggregateFunction, and Deveel.Data.Routines.ExternalFunction.
|
inline |
Gets the function static return type
Definition at line 104 of file Function.cs.
|
inlinevirtual |
Resolves the function return type against the given context.
context | The execution context used to resolve the function return type. |
Implements Deveel.Data.Routines.IFunction.
Reimplemented in Deveel.Data.Routines.FunctionProvider.DelegateFunction, and Deveel.Data.Routines.ExternalFunction.
Definition at line 121 of file Function.cs.
|
static |
A special SqlType that is used to mark an argument of a function as dynamic
.
This SqlType matches against any passed object.
Definition at line 39 of file Function.cs.
|
getprivate |
Definition at line 82 of file Function.cs.
|
getprivate set |
Definition at line 64 of file Function.cs.
|
get |
Definition at line 66 of file Function.cs.
|
get |
Definition at line 60 of file Function.cs.
|
getprivate |
Definition at line 78 of file Function.cs.
|
getprivate |
Definition at line 70 of file Function.cs.
|
getprivate |
Definition at line 74 of file Function.cs.