24 namespace Deveel.Data.Routines {
42 if (functionInfo == null)
43 throw new ArgumentNullException(
"functionInfo");
49 : this(name, parameters, null, functionType) {
57 : this(new
FunctionInfo(name, parameters, returnType, functionType)) {
83 get {
return FunctionName; }
108 return ReturnType(null);
137 throw new NotSupportedException();
Defines a routine that is a function, that means it returns a value after its execution.
A system routine that returns a value at the end of its execution.
Represents a database object, such as a table, a trigger, a type or a column.
ObjectName FullName
Gets the fully qualified name of the object used to resolve it uniquely within the database...
Function(ObjectName name, RoutineParameter[] parameters, FunctionType functionType)
Describes the name of an object within a database.
The contract to define a program routine that can interact with database objects. ...
A type that represents a static function.
override int Compare(ISqlObject x, ISqlObject y)
Defines the contract for a valid SQL Object
RoutineType
The type of routine program.
Function(FunctionInfo functionInfo)
ObjectName RoutineName
Gets the name of the routine that uniquely identifies it in a system context.
Function(ObjectName name, RoutineParameter[] parameters, SqlType returnType)
override bool IsComparable(SqlType type)
Verifies if a given SqlType is comparable to this data-type.
Represents the result of the execution of a routine.
FunctionType FunctionType
Gets the kind of function.
FunctionType
The different type of a function.
DbObjectType ObjectType
Gets the type of database object that the implementation is for
Defines the properties of a specific SQL Type and handles the values compatible.
virtual SqlType ReturnType(InvokeContext context)
Resolves the function return type against the given context.
The function signature information that are used to resolve a function within a context.
SqlTypeCode
Enumerates the codes of all SQL types handled by the system.
Defines the metadata for a routine that are used to resolve within a context.
SqlType ReturnType()
Gets the function static return type
RoutineType Type
Gets the type of routine that will be executed.
Function(ObjectName name, RoutineParameter[] parameters, SqlType returnType, FunctionType functionType)
DbObjectType
The kind of objects that can be handled by a database system and its managers