![]() |
DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
Defines the contract to access the data contained into a table of a database. More...
Public Member Functions | |
| DataObject | GetValue (long rowNumber, int columnOffset) |
| Gets a single cell within the table that is located at the given column offset and row. More... | |
| ColumnIndex | GetIndex (int columnOffset) |
| Gets an index for given column that can be used to select values from this table. More... | |
Properties | |
| IContext | Context [get] |
| TableInfo | TableInfo [get] |
| Gets the metadata information of the table, used to resolve the column sources. More... | |
| int | RowCount [get] |
| Gets the total number of rows in the table. More... | |
Properties inherited from Deveel.Data.Sql.IDbObject | |
| ObjectName | FullName [get] |
| Gets the fully qualified name of the object used to resolve it uniquely within the database. More... | |
| DbObjectType | ObjectType [get] |
| Gets the type of database object that the implementation is for More... | |
Defines the contract to access the data contained into a table of a database.
Default implementations of this interface are set to be read-only: to make the table accessible in write-mode, tables will implement IMutableTable.
A table rows can be enumerated in a sequence mode by using the IEnumerable<Row>, but if the table is altered the enumeration will throw an exception.
| ColumnIndex Deveel.Data.Sql.Tables.ITable.GetIndex | ( | int | columnOffset | ) |
Gets an index for given column that can be used to select values from this table.
| columnOffset | The zero-based offset of the column which to get the index. |
Implemented in Deveel.Data.Sql.Tables.TableSource.MinimalTable, Deveel.Data.Transactions.TransactionTable, Deveel.Data.Sql.Tables.Table, and Deveel.Data.Sql.Tables.GeneratedTable.
| DataObject Deveel.Data.Sql.Tables.ITable.GetValue | ( | long | rowNumber, |
| int | columnOffset | ||
| ) |
Gets a single cell within the table that is located at the given column offset and row.
| 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. |
| ArgumentOutOfRangeException | If the given columnOffset is less than zero or greater or equal than the number of columns defined in the table metadata. |
Implemented in Deveel.Data.Sql.Tables.TableSource.MinimalTable, Deveel.Data.SystemSchema.StatisticsTable, Deveel.Data.SystemSchema.SessionInfoTable, Deveel.Data.SystemSchema.PrivilegesTable, Deveel.Data.SystemSchema.VariablesTable, Deveel.Data.SystemSchema.ProductInfoTable, Deveel.Data.SystemSchema.OpenSessionsTable, Deveel.Data.SystemSchema.SqlTypesTable, Deveel.Data.SystemSchema.TableColumnsTable, Deveel.Data.SystemSchema.TableInfoTable, Deveel.Data.Transactions.Transaction.OldAndNewTableContainer.TriggeredOldNew, Deveel.Data.Sql.Triggers.TriggerManager.TriggersTableContainer.TriggerTable, Deveel.Data.Routines.RoutineManager.RoutinesTableContainer.RoutineTable, Deveel.Data.Sql.Sequences.SequenceManager.SequenceTable, Deveel.Data.Sql.Tables.JoinedTable, Deveel.Data.Transactions.TransactionTable, Deveel.Data.Sql.Tables.FunctionTable, Deveel.Data.Sql.Tables.Table, Deveel.Data.Sql.Tables.CompositeTable, Deveel.Data.Sql.Tables.SubsetColumnTable, Deveel.Data.Sql.Tables.FilterTable, Deveel.Data.Sql.Tables.OuterTable, Deveel.Data.Sql.Tables.TemporaryTable, Deveel.Data.Sql.Tables.UserContextTable, Deveel.Data.Sql.Tables.GeneratedTable, and Deveel.Data.Sql.Tables.LimitedTable.
|
get |
|
get |
1.8.10