Definition at line 24 of file JoinedTable.cs.
Deveel.Data.Sql.Tables.JoinedTable.JoinedTable |
( |
IEnumerable< ITable > |
tables | ) |
|
|
inline |
Definition at line 39 of file JoinedTable.cs.
virtual void Init(IEnumerable< ITable > tables)
Deveel.Data.Sql.Tables.JoinedTable.JoinedTable |
( |
ITable |
table | ) |
|
|
inline |
IList<int> Deveel.Data.Sql.Tables.JoinedTable.CalculateRowReferenceList |
( |
| ) |
|
|
inlineprivate |
Definition at line 141 of file JoinedTable.cs.
143 List<int> allList =
new List<int>(size);
144 for (
int i = 0; i < size; ++i) {
override IEnumerator<Row> Deveel.Data.Sql.Tables.JoinedTable.GetEnumerator |
( |
| ) |
|
|
inlinevirtual |
override ColumnIndex Deveel.Data.Sql.Tables.JoinedTable.GetIndex |
( |
int |
column, |
|
|
int |
originalColumn, |
|
|
ITable |
table |
|
) |
| |
|
inlineprotectedvirtual |
Definition at line 172 of file JoinedTable.cs.
173 if (
this is IRootTable) {
178 IEnumerable<int> newRowSet =
new List<int>(rows);
184 if (table is IRootTable) {
185 info.Add((IRootTable)table, newRowSet.ToArray());
187 ((
JoinedTable)table).GetRawTableInfo(info, newRowSet);
JoinedTable(IEnumerable< ITable > tables)
IList< int > CalculateRowReferenceList()
abstract IEnumerable< int > ResolveRowsForTable(IEnumerable< int > rowSet, int tableNum)
override ObjectName Deveel.Data.Sql.Tables.JoinedTable.GetResolvedColumnName |
( |
int |
column | ) |
|
|
inlineprotectedvirtual |
override DataObject Deveel.Data.Sql.Tables.JoinedTable.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.Table.
Reimplemented in Deveel.Data.Sql.Tables.OuterTable.
Definition at line 200 of file JoinedTable.cs.
204 return parentTable.GetValue(rowNumber,
columnFilter[columnOffset]);
int ResolveRowForTable(int rowNumber, int tableNum)
override int Deveel.Data.Sql.Tables.JoinedTable.IndexOfColumn |
( |
ObjectName |
columnName | ) |
|
|
inlineprotectedvirtual |
virtual void Deveel.Data.Sql.Tables.JoinedTable.Init |
( |
IEnumerable< ITable > |
tables | ) |
|
|
inlineprotectedvirtual |
Reimplemented in Deveel.Data.Sql.Tables.VirtualTable.
Definition at line 60 of file JoinedTable.cs.
61 var tablesArray = tables.ToArray();
81 for (
int n = 0; n < refColCount; ++n) {
87 var columnInfo = curTableInfo[n];
88 var newColumnInfo =
new ColumnInfo(columnInfo.ColumnName, columnInfo.ColumnType) {
89 DefaultExpression = columnInfo.DefaultExpression,
90 IsNotNull = columnInfo.IsNotNull,
91 IndexType = columnInfo.IndexType
void AddColumnSafe(ColumnInfo column)
TableInfo AsReadOnly()
Creates a new instance of TableInfo as an immutable copy of this table metadata.
TableInfo TableInfo
Gets the metadata information of the table, used to resolve the column sources.
int ColumnCount
Gets a count of the columns defined by this object.
override TableInfo TableInfo
override void Deveel.Data.Sql.Tables.JoinedTable.Lock |
( |
| ) |
|
|
inlinevirtual |
override void Deveel.Data.Sql.Tables.JoinedTable.Release |
( |
| ) |
|
|
inlinevirtual |
int Deveel.Data.Sql.Tables.JoinedTable.ResolveRowForTable |
( |
int |
rowNumber, |
|
|
int |
tableNum |
|
) |
| |
|
inlineprotected |
Definition at line 264 of file JoinedTable.cs.
abstract IEnumerable< int > ResolveRowsForTable(IEnumerable< int > rowSet, int tableNum)
override IEnumerable<int> Deveel.Data.Sql.Tables.JoinedTable.ResolveRows |
( |
int |
column, |
|
|
IEnumerable< int > |
rowSet, |
|
|
ITable |
ancestor |
|
) |
| |
|
inlineprotectedvirtual |
abstract IEnumerable<int> Deveel.Data.Sql.Tables.JoinedTable.ResolveRowsForTable |
( |
IEnumerable< int > |
rowSet, |
|
|
int |
tableNum |
|
) |
| |
|
protectedpure virtual |
int [] Deveel.Data.Sql.Tables.JoinedTable.columnFilter |
|
private |
int [] Deveel.Data.Sql.Tables.JoinedTable.columnTable |
|
private |
ColumnIndex [] Deveel.Data.Sql.Tables.JoinedTable.indexes |
|
private |
ITable [] Deveel.Data.Sql.Tables.JoinedTable.referenceList |
|
private |
byte Deveel.Data.Sql.Tables.JoinedTable.rootsLocked |
|
private |
TableInfo Deveel.Data.Sql.Tables.JoinedTable.vtTableInfo |
|
private |
override int Deveel.Data.Sql.Tables.JoinedTable.ColumnCount |
|
getprotected |
int [] Deveel.Data.Sql.Tables.JoinedTable.ColumnFilter |
|
getprotected |
ColumnIndex [] Deveel.Data.Sql.Tables.JoinedTable.ColumnIndices |
|
getprotected |
int [] Deveel.Data.Sql.Tables.JoinedTable.ColumnTable |
|
getprotected |
override IContext Deveel.Data.Sql.Tables.JoinedTable.Context |
|
get |
ITable [] Deveel.Data.Sql.Tables.JoinedTable.ReferenceTables |
|
getprotected |
int Deveel.Data.Sql.Tables.JoinedTable.SortColumn |
|
getset |
override TableInfo Deveel.Data.Sql.Tables.JoinedTable.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.Sql.Tables/JoinedTable.cs