Definition at line 26 of file BaseDataTable.cs.
Deveel.Data.Sql.Tables.BaseDataTable.BaseDataTable |
( |
| ) |
|
|
inlineprotected |
Deveel.Data.Sql.Tables.BaseDataTable.BaseDataTable |
( |
IContext |
context | ) |
|
|
inlineprotected |
void Deveel.Data.Sql.Tables.BaseDataTable.AddRowToIndex |
( |
int |
rowNumber | ) |
|
|
inline |
Definition at line 141 of file BaseDataTable.cs.
144 for (
int i = 0; i < colCount; ++i) {
145 if (tableInfo[i].IsIndexable) {
147 index.Insert(rowNumber);
int IQueryTable. ColumnCount
virtual ColumnIndex GetColumnIndex(int columnOffset)
abstract TableInfo TableInfo
void Deveel.Data.Sql.Tables.BaseDataTable.AddToIndex |
( |
int |
rowNumber, |
|
|
int |
columnNumber |
|
) |
| |
|
inline |
Definition at line 133 of file BaseDataTable.cs.
134 bool indexableType =
TableInfo[columnNumber].IsIndexable;
137 index.Insert(rowNumber);
virtual ColumnIndex GetColumnIndex(int columnOffset)
abstract TableInfo TableInfo
virtual ColumnIndex Deveel.Data.Sql.Tables.BaseDataTable.GetColumnIndex |
( |
int |
columnOffset | ) |
|
|
inlineprotectedvirtual |
override ColumnIndex Deveel.Data.Sql.Tables.BaseDataTable.GetIndex |
( |
int |
column, |
|
|
int |
originalColumn, |
|
|
ITable |
table |
|
) |
| |
|
inlineprotectedvirtual |
override ObjectName Deveel.Data.Sql.Tables.BaseDataTable.GetResolvedColumnName |
( |
int |
column | ) |
|
|
inlineprotectedvirtual |
override int Deveel.Data.Sql.Tables.BaseDataTable.IndexOfColumn |
( |
ObjectName |
columnName | ) |
|
|
inlineprotectedvirtual |
Reimplemented from Deveel.Data.Sql.Tables.Table.
Definition at line 48 of file BaseDataTable.cs.
50 var tableName = columnName.Parent;
52 if (tableName != null && tableName.Equals(
TableName)) {
54 string colName = columnName.
Name;
56 for (
int i = 0; i < size; ++i) {
57 var col = tableInfo[i];
58 if (col.ColumnName.Equals(colName)) {
string Name
Gets the name part of the table name.
int IQueryTable. ColumnCount
abstract TableInfo TableInfo
void Deveel.Data.Sql.Tables.BaseDataTable.RemoveRowFromIndex |
( |
int |
rowNumber | ) |
|
|
inline |
Definition at line 152 of file BaseDataTable.cs.
155 for (
int i = 0; i < colCount; ++i) {
156 if (tableInfo[i].IsIndexable) {
158 index.Remove(rowNumber);
int IQueryTable. ColumnCount
virtual ColumnIndex GetColumnIndex(int columnOffset)
abstract TableInfo TableInfo
override IEnumerable<int> Deveel.Data.Sql.Tables.BaseDataTable.ResolveRows |
( |
int |
column, |
|
|
IEnumerable< int > |
rowSet, |
|
|
ITable |
ancestor |
|
) |
| |
|
inlineprotectedvirtual |
void Deveel.Data.Sql.Tables.BaseDataTable.SetupIndexes |
( |
string |
indexTypeName | ) |
|
|
inlineprotected |
Definition at line 80 of file BaseDataTable.cs.
88 indexType =
Type.GetType(indexTypeName,
false);
90 indexType =
Type.GetType(indexTypeName,
false,
true);
94 if (indexType == null) {
96 }
else if (!typeof (
ColumnIndex).IsAssignableFrom(indexType)) {
97 throw new InvalidOperationException(
String.Format(
"The type '{0}' is not a valid table index.", indexType));
A long string in the system.
const string InsertSearch
A user-defined TYPE that holds complex objects in a database column.
void SetupIndexes(string indexTypeName)
virtual void Deveel.Data.Sql.Tables.BaseDataTable.SetupIndexes |
( |
Type |
indexType | ) |
|
|
inlineprotectedvirtual |
readonly IContext Deveel.Data.Sql.Tables.BaseDataTable.context |
|
private |
ColumnIndex [] Deveel.Data.Sql.Tables.BaseDataTable.indexes |
|
private |
override IContext Deveel.Data.Sql.Tables.BaseDataTable.Context |
|
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/BaseDataTable.cs