DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Static Public Member Functions | Properties | Private Member Functions | Private Attributes | List of all members
Deveel.Data.Sql.Objects.SqlTabular Class Reference
Inheritance diagram for Deveel.Data.Sql.Objects.SqlTabular:
Deveel.Data.Sql.Objects.ISqlObject

Public Member Functions

IEnumerator< Row > GetEnumerator ()
 
void Dispose ()
 
DataObject GetValue (long rowNumber, int columnOffset)
 

Static Public Member Functions

static SqlTabular From (ITable table)
 

Properties

bool IsNull [get]
 
ObjectName IDbObject. FullName [get]
 
DbObjectType IDbObject. ObjectType [get]
 
IDatabaseContext ITable. DatabaseContext [get]
 
TableInfo ITable. TableInfo [get]
 
int RowCount [get]
 
- Properties inherited from Deveel.Data.Sql.Objects.ISqlObject
bool IsNull [get]
 Gets a boolean value indicating if the object is NULL. More...
 

Private Member Functions

 SqlTabular (ITable table)
 
int IComparable. CompareTo (object obj)
 
int IComparable< ISqlObject >. CompareTo (ISqlObject other)
 
void AssertNotNull ()
 
bool ISqlObject. IsComparableTo (ISqlObject other)
 Checks if the current object is comparable with the given one. More...
 
IEnumerator IEnumerable. GetEnumerator ()
 
ColumnIndex ITable. GetIndex (int columnOffset)
 

Private Attributes

ITable table
 

Detailed Description

Definition at line 25 of file SqlTabular.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.Objects.SqlTabular.SqlTabular ( ITable  table)
inlineprivate

Definition at line 28 of file SqlTabular.cs.

28  {
29  this.table = table;
30  }

Member Function Documentation

void Deveel.Data.Sql.Objects.SqlTabular.AssertNotNull ( )
inlineprivate

Definition at line 44 of file SqlTabular.cs.

44  {
45  if (table == null)
46  throw new NullReferenceException("The object is null.");
47  }
int IComparable. Deveel.Data.Sql.Objects.SqlTabular.CompareTo ( object  obj)
inlineprivate

Definition at line 32 of file SqlTabular.cs.

32  {
33  throw new NotSupportedException();
34  }
int IComparable<ISqlObject>. Deveel.Data.Sql.Objects.SqlTabular.CompareTo ( ISqlObject  other)
inlineprivate

Definition at line 36 of file SqlTabular.cs.

36  {
37  throw new NotSupportedException();
38  }
void Deveel.Data.Sql.Objects.SqlTabular.Dispose ( )
inline

Definition at line 77 of file SqlTabular.cs.

77  {
78  table = null;
79  }
static SqlTabular Deveel.Data.Sql.Objects.SqlTabular.From ( ITable  table)
inlinestatic

Definition at line 53 of file SqlTabular.cs.

53  {
54  return new SqlTabular(table);
55  }
IEnumerator<Row> Deveel.Data.Sql.Objects.SqlTabular.GetEnumerator ( )
inline

Definition at line 68 of file SqlTabular.cs.

68  {
69  AssertNotNull();
70  return table.GetEnumerator();
71  }
IEnumerator IEnumerable. Deveel.Data.Sql.Objects.SqlTabular.GetEnumerator ( )
inlineprivate

Definition at line 73 of file SqlTabular.cs.

73  {
74  return GetEnumerator();
75  }
IEnumerator< Row > GetEnumerator()
Definition: SqlTabular.cs:68
ColumnIndex ITable. Deveel.Data.Sql.Objects.SqlTabular.GetIndex ( int  columnOffset)
inlineprivate

Definition at line 107 of file SqlTabular.cs.

107  {
108  AssertNotNull();
109  return table.GetIndex(columnOffset);
110  }
DataObject Deveel.Data.Sql.Objects.SqlTabular.GetValue ( long  rowNumber,
int  columnOffset 
)
inline

Definition at line 102 of file SqlTabular.cs.

102  {
103  AssertNotNull();
104  return table.GetValue(rowNumber, columnOffset);
105  }
bool ISqlObject. Deveel.Data.Sql.Objects.SqlTabular.IsComparableTo ( ISqlObject  other)
inlineprivate

Checks if the current object is comparable with the given one.

Parameters
otherThe other ISqlObject to compare.
Returns
Returns true if the current object is comparable with the given one, false otherwise.

Implements Deveel.Data.Sql.Objects.ISqlObject.

Definition at line 49 of file SqlTabular.cs.

49  {
50  return false;
51  }

Member Data Documentation

ITable Deveel.Data.Sql.Objects.SqlTabular.table
private

Definition at line 26 of file SqlTabular.cs.

Property Documentation

IDatabaseContext ITable. Deveel.Data.Sql.Objects.SqlTabular.DatabaseContext
getprivate

Definition at line 81 of file SqlTabular.cs.

ObjectName IDbObject. Deveel.Data.Sql.Objects.SqlTabular.FullName
getprivate

Definition at line 57 of file SqlTabular.cs.

bool Deveel.Data.Sql.Objects.SqlTabular.IsNull
get

Definition at line 40 of file SqlTabular.cs.

DbObjectType IDbObject. Deveel.Data.Sql.Objects.SqlTabular.ObjectType
getprivate

Definition at line 64 of file SqlTabular.cs.

int Deveel.Data.Sql.Objects.SqlTabular.RowCount
get

Definition at line 95 of file SqlTabular.cs.

TableInfo ITable. Deveel.Data.Sql.Objects.SqlTabular.TableInfo
getprivate

Definition at line 88 of file SqlTabular.cs.


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