DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Properties | Private Attributes | List of all members
Deveel.Data.Routines.RoutineManager.RoutinesTableContainer.RoutineTable Class Reference
Inheritance diagram for Deveel.Data.Routines.RoutineManager.RoutinesTableContainer.RoutineTable:
Deveel.Data.Sql.Tables.GeneratedTable Deveel.Data.Sql.Tables.ITable Deveel.Data.Sql.IDbObject

Public Member Functions

 RoutineTable (IDatabaseContext dbContext, TableInfo tableInfo)
 
override DataObject GetValue (long rowNumber, int columnOffset)
 Gets a single cell within the table that is located at the given column offset and row. More...
 
- Public Member Functions inherited from Deveel.Data.Sql.Tables.GeneratedTable
IEnumerator< RowGetEnumerator ()
 
virtual ColumnIndex GetIndex (int columnOffset)
 Gets an index for given column that can be used to select values from this table. More...
 
void Dispose ()
 

Properties

override TableInfo TableInfo [get]
 
DataObject Type [get, set]
 
DataObject Location [get, set]
 
DataObject ReturnType [get, set]
 
DataObject ParameterTypes [get, set]
 
DataObject Owner [get, set]
 
override int RowCount [get]
 
- Properties inherited from Deveel.Data.Sql.Tables.GeneratedTable
IContext Context [get, private set]
 
ObjectName IDbObject. FullName [get]
 
DbObjectType IDbObject. ObjectType [get]
 
abstract TableInfo TableInfo [get]
 
abstract int RowCount [get]
 
- Properties inherited from Deveel.Data.Sql.Tables.ITable
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...
 

Private Attributes

readonly TableInfo tableInfo
 

Additional Inherited Members

- Protected Member Functions inherited from Deveel.Data.Sql.Tables.GeneratedTable
 GeneratedTable (IContext dbContext)
 
DataObject GetColumnValue (int column, ISqlObject obj)
 
virtual void Dispose (bool disposing)
 

Detailed Description

Definition at line 290 of file RoutineManager.cs.

Constructor & Destructor Documentation

Deveel.Data.Routines.RoutineManager.RoutinesTableContainer.RoutineTable.RoutineTable ( IDatabaseContext  dbContext,
TableInfo  tableInfo 
)
inline

Definition at line 293 of file RoutineManager.cs.

294  : base(dbContext) {
295  this.tableInfo = tableInfo;
296  }

Member Function Documentation

override DataObject Deveel.Data.Routines.RoutineManager.RoutinesTableContainer.RoutineTable.GetValue ( long  rowNumber,
int  columnOffset 
)
inlinevirtual

Gets a single cell within the table that is located at the given column offset and row.

Parameters
rowNumberThe unique number of the row where the cell is located.
columnOffsetThe 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
ArgumentOutOfRangeExceptionIf 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.GeneratedTable.

Definition at line 316 of file RoutineManager.cs.

316  {
317  if (rowNumber < 0 || rowNumber >= 1)
318  throw new ArgumentOutOfRangeException("rowNumber");
319 
320  switch (columnOffset) {
321  case 0:
322  return Type;
323  case 1:
324  return Location;
325  case 2:
326  return ReturnType;
327  case 3:
328  return ParameterTypes;
329  case 4:
330  return Owner;
331  default:
332  throw new ArgumentOutOfRangeException("columnOffset");
333  }
334  }

Member Data Documentation

readonly TableInfo Deveel.Data.Routines.RoutineManager.RoutinesTableContainer.RoutineTable.tableInfo
private

Definition at line 291 of file RoutineManager.cs.

Property Documentation

DataObject Deveel.Data.Routines.RoutineManager.RoutinesTableContainer.RoutineTable.Location
getset

Definition at line 304 of file RoutineManager.cs.

DataObject Deveel.Data.Routines.RoutineManager.RoutinesTableContainer.RoutineTable.Owner
getset

Definition at line 310 of file RoutineManager.cs.

DataObject Deveel.Data.Routines.RoutineManager.RoutinesTableContainer.RoutineTable.ParameterTypes
getset

Definition at line 308 of file RoutineManager.cs.

DataObject Deveel.Data.Routines.RoutineManager.RoutinesTableContainer.RoutineTable.ReturnType
getset

Definition at line 306 of file RoutineManager.cs.

override int Deveel.Data.Routines.RoutineManager.RoutinesTableContainer.RoutineTable.RowCount
get

Definition at line 312 of file RoutineManager.cs.

override TableInfo Deveel.Data.Routines.RoutineManager.RoutinesTableContainer.RoutineTable.TableInfo
get

Definition at line 298 of file RoutineManager.cs.

DataObject Deveel.Data.Routines.RoutineManager.RoutinesTableContainer.RoutineTable.Type
getset

Definition at line 302 of file RoutineManager.cs.


The documentation for this class was generated from the following file: