|
void | AddType (string name, string localName, SqlTypeCode type, byte precision, string prefix, string suffix, bool searchable) |
|
void | Init () |
|
Definition at line 617 of file SystemSchema.cs.
Deveel.Data.SystemSchema.SqlTypesTable.SqlTypesTable |
( |
ITransaction |
transaction | ) |
|
|
inline |
Definition at line 621 of file SystemSchema.cs.
IDatabase Database
Gets the database this transaction belongs to.
List< SqlTypeInfo > sqlTypes
new IDatabaseContext Context
Gets the context that contains this database.
void Deveel.Data.SystemSchema.SqlTypesTable.AddType |
( |
string |
name, |
|
|
string |
localName, |
|
|
SqlTypeCode |
type, |
|
|
byte |
precision, |
|
|
string |
prefix, |
|
|
string |
suffix, |
|
|
bool |
searchable |
|
) |
| |
|
inlineprivate |
Definition at line 638 of file SystemSchema.cs.
641 LocalName = localName,
643 Precision = precision,
644 LiteralPrefix = prefix,
645 LiteralSuffix = suffix,
646 Searchable = (byte)(searchable ? 3 : 0)
List< SqlTypeInfo > sqlTypes
A user-defined TYPE that holds complex objects in a database column.
override void Deveel.Data.SystemSchema.SqlTypesTable.Dispose |
( |
bool |
disposing | ) |
|
|
inlineprotectedvirtual |
override DataObject Deveel.Data.SystemSchema.SqlTypesTable.GetValue |
( |
long |
rowNumber, |
|
|
int |
columnOffset |
|
) |
| |
|
inlinevirtual |
Gets a single cell within the table that is located at the given column offset and row.
- Parameters
-
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. |
- Returns
- Returns an instance of DataObject that is contained in the cell located by the row and column coordinates provided.
- Exceptions
-
ArgumentOutOfRangeException | If 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 675 of file SystemSchema.cs.
678 if (rowNumber < 0 || rowNumber >=
sqlTypes.Count)
679 throw new ArgumentOutOfRangeException(
"rowNumber");
681 var typeInfo =
sqlTypes[(int)rowNumber];
682 switch (columnOffset) {
720 throw new ArgumentOutOfRangeException(
"columnOffset");
List< SqlTypeInfo > sqlTypes
static readonly SqlNull Value
DataObject GetColumnValue(int column, ISqlObject obj)
static readonly SqlNumber Zero
static readonly SqlNumber One
Deveel.Data.Sql.Objects.SqlString SqlString
void Deveel.Data.SystemSchema.SqlTypesTable.Init |
( |
| ) |
|
|
inlineprivate |
Definition at line 650 of file SystemSchema.cs.
SqlTypeCode
Enumerates the codes of all SQL types handled by the system.
void AddType(string name, string localName, SqlTypeCode type, byte precision, string prefix, string suffix, bool searchable)
List<SqlTypeInfo> Deveel.Data.SystemSchema.SqlTypesTable.sqlTypes |
|
private |
ITransaction Deveel.Data.SystemSchema.SqlTypesTable.transaction |
|
private |
override int Deveel.Data.SystemSchema.SqlTypesTable.RowCount |
|
get |
override TableInfo Deveel.Data.SystemSchema.SqlTypesTable.TableInfo |
|
get |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data/SystemSchema.cs