Definition at line 358 of file TriggerManager.cs.
Deveel.Data.Sql.Triggers.TriggerManager.TriggersTableContainer.TriggersTableContainer |
( |
ITransaction |
transaction | ) |
|
|
inline |
Definition at line 359 of file TriggerManager.cs.
360 : base(transaction, SystemSchema.TriggerTableName) {
static TableInfo Deveel.Data.Sql.Triggers.TriggerManager.TriggersTableContainer.CreateTableInfo |
( |
string |
schema, |
|
|
string |
name |
|
) |
| |
|
inlinestaticprivate |
Definition at line 372 of file TriggerManager.cs.
373 var tableInfo =
new TableInfo(
new ObjectName(
new ObjectName(schema), name));
381 return tableInfo.AsReadOnly();
Provides some helper functions for resolving and creating SqlType instances that are primitive to the...
static NumericType Numeric()
static StringType String()
Defines the metadata properties of a table existing within a database.
override ITable Deveel.Data.Sql.Triggers.TriggerManager.TriggersTableContainer.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 385 of file TriggerManager.cs.
386 var table =
Transaction.GetTable(SystemSchema.TriggerTableName);
387 var enumerator = table.GetEnumerator();
391 while (enumerator.MoveNext()) {
392 i = enumerator.Current.RowId.RowNumber;
401 throw new ArgumentOutOfRangeException(
"offset");
403 var schema = table.GetValue(rowIndex, 0).Value.ToString();
404 var name = table.GetValue(rowIndex, 1).Value.ToString();
408 var type = table.GetValue(rowIndex, 2);
409 var tableName = table.GetValue(rowIndex, 3);
410 var routine = table.GetValue(rowIndex, 4);
411 var args = table.GetValue(rowIndex, 5);
412 var owner = table.GetValue(rowIndex, 6);
static TableInfo CreateTableInfo(string schema, string name)
The system implementation of a transaction model that handles isolated operations within a database c...
A routine (PROCEDURE or FUNCTION) defined in a database, that is a program with defined input paramet...
A user-defined TYPE that holds complex objects in a database column.
override TableInfo Deveel.Data.Sql.Triggers.TriggerManager.TriggersTableContainer.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 363 of file TriggerManager.cs.
static TableInfo CreateTableInfo(string schema, string name)
ObjectName GetTableName(int offset)
Gets the name of the table at the given index in this container.
override string Deveel.Data.Sql.Triggers.TriggerManager.TriggersTableContainer.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 368 of file TriggerManager.cs.
369 return TableTypes.Trigger;
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Sql.Triggers/TriggerManager.cs