Definition at line 431 of file SystemSchema.cs.
Deveel.Data.SystemSchema.TableInfoTable.TableInfoTable |
( |
ITransaction |
transaction | ) |
|
|
inline |
Definition at line 435 of file SystemSchema.cs.
The system implementation of a transaction model that handles isolated operations within a database c...
IDatabase Database
Gets the database this transaction belongs to.
new IDatabaseContext Context
Gets the context that contains this database.
List< TableInfoObject > tableInfoObjects
override DataObject Deveel.Data.SystemSchema.TableInfoTable.GetValue |
( |
long |
rowNumber, |
|
|
int |
columnOffset |
|
) |
| |
|
inlinevirtual |
Gets a single cell within the table that is located at the given column offset and row.
- Parameters
-
rowNumber | The unique number of the row where the cell is located. |
columnOffset | The zero-based offset of the column of the cell to return. |
- Returns
- Returns an instance of DataObject that is contained in the cell located by the row and column coordinates provided.
- Exceptions
-
ArgumentOutOfRangeException | If the given columnOffset is less than zero or greater or equal than the number of columns defined in the table metadata. |
- See also
- Tables.TableInfo.IndexOfColumn(string)
Implements Deveel.Data.Sql.Tables.GeneratedTable.
Definition at line 476 of file SystemSchema.cs.
478 throw new ArgumentOutOfRangeException(
"rowNumber");
482 switch (columnOffset) {
484 return DataObject.String(tableInfo.Catalog);
486 return DataObject.String(tableInfo.Schema);
488 return DataObject.String(tableInfo.Name);
490 return DataObject.String(tableInfo.Type);
492 return DataObject.String(tableInfo.Comments);
494 throw new ArgumentOutOfRangeException(
"columnOffset");
List< TableInfoObject > tableInfoObjects
void Deveel.Data.SystemSchema.TableInfoTable.Init |
( |
| ) |
|
|
inlineprivate |
Definition at line 453 of file SystemSchema.cs.
456 var tableNames = manager.GetTableNames();
458 var tableList = tableNames.ToArray();
459 Array.Sort(tableList);
462 foreach (var tableName
in tableList) {
463 string curType =
Transaction.GetTableType(tableName);
467 if (curType.Equals(
"TABLE") &&
468 tableName.Parent.Name.Equals(
Name)) {
469 curType =
"SYSTEM TABLE";
472 tableInfoObjects.Add(
new TableInfoObject(null, tableName.Parent.Name, tableName.Name, curType, null));
The system implementation of a transaction model that handles isolated operations within a database c...
List< TableInfoObject > tableInfoObjects
const string Name
The name of the system schema that contains tables referring to system information.
int Deveel.Data.SystemSchema.TableInfoTable.rowCount |
|
private |
List<TableInfoObject> Deveel.Data.SystemSchema.TableInfoTable.tableInfoObjects |
|
private |
override int Deveel.Data.SystemSchema.TableInfoTable.RowCount |
|
get |
override TableInfo Deveel.Data.SystemSchema.TableInfoTable.TableInfo |
|
get |
ITransaction Deveel.Data.SystemSchema.TableInfoTable.Transaction |
|
getprivate set |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data/SystemSchema.cs