Definition at line 174 of file RoutineManager.cs.
Deveel.Data.Routines.RoutineManager.RoutinesTableContainer.RoutinesTableContainer |
( |
ITransaction |
transaction | ) |
|
|
inline |
Definition at line 175 of file RoutineManager.cs.
static readonly ObjectName RoutineTableName
Provides utilities and properties for handling the SYSTEN schema of a database.
Definition at line 275 of file RoutineManager.cs.
276 var sb =
new StringBuilder();
277 sb.Append(argName.ToString());
279 sb.Append(argType.ToString());
283 .Append(inOut.
Value);
285 return sb.ToString();
bool IsNull
Gets a value that indicates if this object is materialized as null.
ISqlObject Value
Gets the underlined value that is handled.
static TableInfo Deveel.Data.Routines.RoutineManager.RoutinesTableContainer.CreateTableInfo |
( |
string |
schema, |
|
|
string |
name |
|
) |
| |
|
inlinestaticprivate |
Definition at line 179 of file RoutineManager.cs.
190 return info.AsReadOnly();
Provides some helper functions for resolving and creating SqlType instances that are primitive to the...
Describes the name of an object within a database.
static StringType String()
Defines the metadata properties of a table existing within a database.
DataObject Deveel.Data.Routines.RoutineManager.RoutinesTableContainer.GetParameterTypes |
( |
string |
schema, |
|
|
string |
name |
|
) |
| |
|
inlineprivate |
Definition at line 256 of file RoutineManager.cs.
259 var types =
new List<string>();
261 foreach (var rowIndex
in rows) {
262 var argName = table.GetValue(rowIndex, 1);
263 var argType = table.GetValue(rowIndex, 2);
264 var inOut = table.GetValue(rowIndex, 3);
268 types.Add(paramString);
271 var args =
String.Join(
", ", types.ToArray());
A long string in the system.
The system implementation of a transaction model that handles isolated operations within a database c...
static DataObject String(string s)
string BuildParameterString(DataObject argName, DataObject argType, DataObject inOut)
Represents a dynamic object that encapsulates a defined SqlType and a compatible constant ISqlObject ...
Provides utilities and properties for handling the SYSTEN schema of a database.
static readonly ObjectName RoutineParameterTableName
override ITable Deveel.Data.Routines.RoutineManager.RoutinesTableContainer.GetTable |
( |
int |
offset | ) |
|
|
inlinevirtual |
Gets the table contained at the given offset within the context.
- Parameters
-
offset | The zero-based offset of the table to return. |
- Returns
- Returns an instance of ITable that provides access to the backed informaion for an object provided by the context.
- Exceptions
-
ArgumentOutOfRangeException | If the given offset is smaller than 0 or greater or equal than TableCount. |
Implements Deveel.Data.SystemTableContainer.
Definition at line 218 of file RoutineManager.cs.
220 var rowE = table.GetEnumerator();
224 while (rowE.MoveNext()) {
225 i = rowE.Current.RowId.RowNumber;
234 throw new ArgumentOutOfRangeException(
"offset");
236 string schema = table.GetValue(rowI, 0).Value.ToString();
237 string name = table.GetValue(rowI, 1).Value.ToString();
242 var type = table.GetValue(rowI, 2);
243 var location = table.GetValue(rowI, 3);
244 var returnType = table.GetValue(rowI, 4);
245 var owner = table.GetValue(rowI, 5);
250 ReturnType = returnType,
251 ParameterTypes = paramTypes,
The system implementation of a transaction model that handles isolated operations within a database c...
IDatabase ITransaction. Database
static TableInfo CreateTableInfo(string schema, string name)
DataObject GetParameterTypes(string schema, string name)
new IDatabaseContext Context
Gets the context that contains this database.
A user-defined TYPE that holds complex objects in a database column.
static readonly ObjectName RoutineTableName
Provides utilities and properties for handling the SYSTEN schema of a database.
override TableInfo Deveel.Data.Routines.RoutineManager.RoutinesTableContainer.GetTableInfo |
( |
int |
offset | ) |
|
|
inlinevirtual |
Gets the information of the table at the given offset in this container.
- Parameters
-
offset | The zero-based offset of the table whose information to return. |
- Returns
- Returns an instance of
- See also
- TableInfo
that describes the metadata of a table at the given offset within the context.
- Exceptions
-
ArgumentOutOfRangeException | If the given offset is smaller than 0 or greater or equal than TableCount. |
Implements Deveel.Data.SystemTableContainer.
Definition at line 193 of file RoutineManager.cs.
195 if (tableName == null)
196 throw new ArgumentOutOfRangeException(
"offset");
ObjectName GetTableName(int offset)
Gets the name of the table at the given index in this container.
static TableInfo CreateTableInfo(string schema, string name)
override string Deveel.Data.Routines.RoutineManager.RoutinesTableContainer.GetTableType |
( |
int |
offset | ) |
|
|
inlinevirtual |
Gets the type of the table at the given offset.
- Parameters
-
offset | The zero-based offset of the table whose type to return. |
- Returns
- Returns a String that describes the type of table at the given offset.
- Exceptions
-
ArgumentOutOfRangeException | If the given offset is smaller than 0 or greater or equal than TableCount. |
Implements Deveel.Data.SystemTableContainer.
Definition at line 201 of file RoutineManager.cs.
204 throw new ArgumentOutOfRangeException(
"offset");
206 var typeString = table.GetValue(0, 0).Value.ToString();
215 throw new InvalidOperationException(
String.Format(
"The type {0} is invalid as routine table type.", typeString));
A long string in the system.
const string FunctionType
const string ExternalProcedureType
override ITable GetTable(int offset)
Gets the table contained at the given offset within the context.
const string ProcedureType
Provides the constant names of the types of tables in a database system.
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Routines/RoutineManager.cs