|
readonly IList< KeyValuePair< string, int > > | privBits |
|
Definition at line 884 of file SystemSchema.cs.
Deveel.Data.SystemSchema.PrivilegesTable.PrivilegesTable |
( |
ITransaction |
transaction | ) |
|
|
inline |
Definition at line 887 of file SystemSchema.cs.
readonly IList< KeyValuePair< string, int > > privBits
IDatabase Database
Gets the database this transaction belongs to.
new IDatabaseContext Context
Gets the context that contains this database.
IList< KeyValuePair< string, int > > FormPrivilegesValues()
IList<KeyValuePair<string, int> > Deveel.Data.SystemSchema.PrivilegesTable.FormPrivilegesValues |
( |
| ) |
|
|
inlineprivate |
Definition at line 892 of file SystemSchema.cs.
893 var names = Enum.GetNames(typeof (
Privileges));
894 var values = Enum.GetValues(typeof (
Privileges));
896 return names.Select((t, i) =>
new KeyValuePair<string, int>(t, (
int) values.GetValue(i))).ToList();
override DataObject Deveel.Data.SystemSchema.PrivilegesTable.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 907 of file SystemSchema.cs.
908 if (rowNumber < 0 || rowNumber >=
privBits.Count)
909 throw new ArgumentOutOfRangeException(
"rowNumber");
911 var pair =
privBits[(int) rowNumber];
912 switch (columnOffset) {
914 return DataObject.Integer(pair.Value);
916 return DataObject.VarChar(pair.Key);
918 throw new ArgumentOutOfRangeException(
"columnOffset");
readonly IList< KeyValuePair< string, int > > privBits
readonly IList<KeyValuePair<string, int> > Deveel.Data.SystemSchema.PrivilegesTable.privBits |
|
private |
override int Deveel.Data.SystemSchema.PrivilegesTable.RowCount |
|
get |
override TableInfo Deveel.Data.SystemSchema.PrivilegesTable.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