|
static int | FindColumn (this ITable table, ObjectName columnName) |
|
static int | ColumnCount (this ITable table) |
|
static ObjectName | GetResolvedColumnName (this ITable table, int columnOffset) |
|
static IEnumerable< int > | ResolveRows (this ITable table, int columnOffset, IEnumerable< int > rows, ITable ancestor) |
|
static ColumnIndex | GetIndex (this ITable thisTable, int column, int originalColumn, ITable table) |
|
static ITableVariableResolver | GetVariableResolver (this ITable table) |
|
static ObjectName | ResolveColumnName (this ITable table, string columnName) |
|
static RawTableInfo | GetRawTableInfo (this ITable table) |
|
static RawTableInfo | GetRawTableInfo (this ITable table, RawTableInfo info) |
|
static void | Lock (this ITable table) |
|
static void | Release (this ITable table) |
|
Definition at line 24 of file TableInternalExtensions.cs.
static int Deveel.Data.Sql.Tables.TableInternalExtensions.ColumnCount |
( |
this ITable |
table | ) |
|
|
inlinestaticpackage |
Definition at line 36 of file TableInternalExtensions.cs.
37 if (table is IQueryTable)
38 return ((IQueryTable)table).ColumnCount;
40 return table.TableInfo.ColumnCount;
static int Deveel.Data.Sql.Tables.TableInternalExtensions.FindColumn |
( |
this ITable |
table, |
|
|
ObjectName |
columnName |
|
) |
| |
|
inlinestaticpackage |
Definition at line 25 of file TableInternalExtensions.cs.
26 if (table is IQueryTable)
27 return ((IQueryTable)table).FindColumn(columnName);
29 var parent = columnName.Parent;
30 if (!parent.Equals(table.TableInfo.TableName))
33 return table.TableInfo.IndexOfColumn(columnName.Name);
static ColumnIndex Deveel.Data.Sql.Tables.TableInternalExtensions.GetIndex |
( |
this ITable |
thisTable, |
|
|
int |
column, |
|
|
int |
originalColumn, |
|
|
ITable |
table |
|
) |
| |
|
inlinestaticpackage |
Definition at line 63 of file TableInternalExtensions.cs.
64 if (thisTable is IQueryTable)
65 return ((IQueryTable)thisTable).GetIndex(column, originalColumn, table);
67 var index = thisTable.GetIndex(column);
68 if (table == thisTable)
72 return index.GetSubset(table, originalColumn);
static RawTableInfo Deveel.Data.Sql.Tables.TableInternalExtensions.GetRawTableInfo |
( |
this ITable |
table | ) |
|
|
inlinestaticpackage |
Definition at line 91 of file TableInternalExtensions.cs.
92 if (table is IQueryTable)
93 return ((IQueryTable)table).GetRawTableInfo(info);
95 throw new NotSupportedException();
static ObjectName Deveel.Data.Sql.Tables.TableInternalExtensions.GetResolvedColumnName |
( |
this ITable |
table, |
|
|
int |
columnOffset |
|
) |
| |
|
inlinestaticpackage |
Definition at line 43 of file TableInternalExtensions.cs.
44 if (table is IQueryTable)
45 return ((IQueryTable)table).GetResolvedColumnName(columnOffset);
47 var tableName = table.TableInfo.TableName;
48 var columnName = table.TableInfo[columnOffset].ColumnName;
49 return new ObjectName(tableName, columnName);
Definition at line 75 of file TableInternalExtensions.cs.
76 if (table is IQueryTable)
77 return ((IQueryTable)table).GetVariableResolver();
80 throw new NotImplementedException();
static void Deveel.Data.Sql.Tables.TableInternalExtensions.Lock |
( |
this ITable |
table | ) |
|
|
inlinestaticpackage |
static void Deveel.Data.Sql.Tables.TableInternalExtensions.Release |
( |
this ITable |
table | ) |
|
|
inlinestaticpackage |
static ObjectName Deveel.Data.Sql.Tables.TableInternalExtensions.ResolveColumnName |
( |
this ITable |
table, |
|
|
string |
columnName |
|
) |
| |
|
inlinestaticpackage |
static IEnumerable<int> Deveel.Data.Sql.Tables.TableInternalExtensions.ResolveRows |
( |
this ITable |
table, |
|
|
int |
columnOffset, |
|
|
IEnumerable< int > |
rows, |
|
|
ITable |
ancestor |
|
) |
| |
|
inlinestaticpackage |
Definition at line 52 of file TableInternalExtensions.cs.
54 if (table is IQueryTable)
55 return ((IQueryTable)table).ResolveRows(columnOffset, rows, ancestor);
57 if (table != ancestor)
58 throw new ArgumentException();
The documentation for this class was generated from the following file: