Definition at line 23 of file OuterTable.cs.
Deveel.Data.Sql.Tables.OuterTable.OuterTable |
( |
IEnumerable< ITable > |
tables, |
|
|
IList< IList< int >> |
rows |
|
) |
| |
|
inlineprivate |
Definition at line 27 of file OuterTable.cs.
28 : base(tables, rows) {
readonly IList< int >[] outerRows
Definition at line 32 of file OuterTable.cs.
33 var baseTable = inputTable.GetRawTableInfo();
34 var tables = baseTable.GetTables();
35 var rows = baseTable.GetRows();
OuterTable(IEnumerable< ITable > tables, IList< IList< int >> rows)
override ColumnIndex Deveel.Data.Sql.Tables.OuterTable.GetIndex |
( |
int |
column, |
|
|
int |
originalColumn, |
|
|
ITable |
table |
|
) |
| |
|
inlineprotectedvirtual |
override DataObject Deveel.Data.Sql.Tables.OuterTable.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)
Reimplemented from Deveel.Data.Sql.Tables.JoinedTable.
Definition at line 95 of file OuterTable.cs.
101 return parentTable.GetValue(rowNumber,
ColumnFilter[columnOffset]);
106 return new DataObject(
TableInfo[columnOffset].ColumnType, null);
108 rowNumber =
outerRows[tableNum][(int)rowNumber];
109 return parentTable.GetValue(rowNumber,
ColumnFilter[columnOffset]);
readonly IList< int >[] outerRows
IList< int >[] ReferenceRows
override TableInfo TableInfo
void Deveel.Data.Sql.Tables.OuterTable.MergeIn |
( |
ITable |
outsideTable | ) |
|
|
inline |
Definition at line 44 of file OuterTable.cs.
45 var rawTableInfo = outsideTable.GetRawTableInfo();
52 var tables = rawTableInfo.GetTables();
53 var rows = rawTableInfo.GetRows();
57 for (
int i = 0; i < baseTables.Length; ++i) {
58 var btable = baseTables[i];
60 for (
int n = 0; n < tables.Length && index == -1; ++n) {
61 if (btable == tables[n]) {
73 IList<int> toMerge = rows[index];
75 throw new InvalidOperationException(
"Wrong size for rows being merged in.");
77 list.AddRange(toMerge);
readonly IList< int >[] outerRows
IList< int >[] ReferenceRows
int Deveel.Data.Sql.Tables.OuterTable.outerRowCount |
|
private |
readonly IList<int> [] Deveel.Data.Sql.Tables.OuterTable.outerRows |
|
private |
override int Deveel.Data.Sql.Tables.OuterTable.RowCount |
|
get |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Sql.Tables/OuterTable.cs