Definition at line 522 of file SystemSchema.cs.
Deveel.Data.SystemSchema.TableColumnsTable.TableColumnsTable |
( |
ITransaction |
transaction | ) |
|
|
inline |
Definition at line 525 of file SystemSchema.cs.
IDatabase Database
Gets the database this transaction belongs to.
new IDatabaseContext Context
Gets the context that contains this database.
override void Deveel.Data.SystemSchema.TableColumnsTable.Dispose |
( |
bool |
disposing | ) |
|
|
inlineprotectedvirtual |
int Deveel.Data.SystemSchema.TableColumnsTable.GetRowCount |
( |
| ) |
|
|
inlineprivate |
Definition at line 538 of file SystemSchema.cs.
541 var list = tableManager.GetTableNames();
544 foreach (var tableName
in list) {
545 var info = tableManager.GetTableInfo(tableName);
547 throw new InvalidOperationException(
String.Format(
"Table information not found for '{0}'.", tableName));
549 colCount += info.ColumnCount;
A long string in the system.
override DataObject Deveel.Data.SystemSchema.TableColumnsTable.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 555 of file SystemSchema.cs.
558 var list = tableManager.GetTableNames();
559 var visibleTables = list.Select(name =>
transaction.GetTableInfo(name));
562 foreach (var info
in visibleTables) {
563 var schemaName = info.SchemaName == null ? null : info.SchemaName.FullName;
566 rs += info.ColumnCount;
567 if (rowNumber >= b && rowNumber < rs) {
569 var seqNo = rowNumber - b;
570 var colInfo = info[(int)seqNo];
572 var defaultExpression = colInfo.HasDefaultExpression ? colInfo.DefaultExpression.ToString() : null;
574 switch (columnOffset) {
598 throw new ArgumentOutOfRangeException(
"columnOffset");
604 throw new ArgumentOutOfRangeException(
"rowNumber",
"Row out of bounds.");
DataObject GetColumnValue(int column, ISqlObject obj)
Deveel.Data.Sql.Objects.SqlString SqlString
ITransaction Deveel.Data.SystemSchema.TableColumnsTable.transaction |
|
private |
override int Deveel.Data.SystemSchema.TableColumnsTable.RowCount |
|
get |
override TableInfo Deveel.Data.SystemSchema.TableColumnsTable.TableInfo |
|
get |
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