Definition at line 267 of file Transaction.cs.
Deveel.Data.Transactions.Transaction.TransactionTableContainer.TransactionTableContainer |
( |
Transaction |
transaction, |
|
|
TableInfo[] |
tableInfos |
|
) |
| |
|
inline |
Definition at line 271 of file Transaction.cs.
readonly TableInfo[] tableInfos
readonly Transaction transaction
bool Deveel.Data.Transactions.Transaction.TransactionTableContainer.ContainsTable |
( |
ObjectName |
name | ) |
|
|
inline |
Checks if a table with the given name is contained in the current context.
- Parameters
-
name | The name of the table to search. |
- Returns
- Returns
true
if any table with the given name was found in the container, false
otherwise.
Implements Deveel.Data.Sql.Tables.ITableContainer.
Definition at line 310 of file Transaction.cs.
int FindByName(ObjectName name)
Finds the index in this container of the given table by its name.
int Deveel.Data.Transactions.Transaction.TransactionTableContainer.FindByName |
( |
ObjectName |
name | ) |
|
|
inline |
Finds the index in this container of the given table by its name.
- Parameters
-
name | The name of the table to find. |
- Returns
- Returns a zero-based index that represents the offset of the table identified by the given name within the context, ot
-1
of not found.
Implements Deveel.Data.Sql.Tables.ITableContainer.
Definition at line 280 of file Transaction.cs.
281 var ignoreCase =
transaction.IgnoreIdentifiersCase();
285 info.TableName.Equals(name, ignoreCase))
readonly TableInfo[] tableInfos
readonly Transaction transaction
ITable Deveel.Data.Transactions.Transaction.TransactionTableContainer.GetTable |
( |
int |
offset | ) |
|
|
inline |
Gets the table contained at the given offset within the context.
- Parameters
-
offset | The zero-based offset of the table to return. |
- Returns
- Returns an instance of ITable that provides access to the backed informaion for an object provided by the context.
- Exceptions
-
ArgumentOutOfRangeException | If the given offset is smaller than 0 or greater or equal than TableCount. |
Implements Deveel.Data.Sql.Tables.ITableContainer.
Definition at line 314 of file Transaction.cs.
316 return SystemSchema.GetTableInfoTable(
transaction);
318 return SystemSchema.GetTableColumnsTable(
transaction);
320 return SystemSchema.GetProductInfoTable(
transaction);
322 return SystemSchema.GetVariablesTable(
transaction);
324 return SystemSchema.GetStatisticsTable(
transaction);
331 return SystemSchema.GetOpenSessionsTable(
transaction);
335 return SystemSchema.GetPrivilegesTable(
transaction);
337 throw new ArgumentOutOfRangeException(
"offset");
readonly Transaction transaction
TableInfo Deveel.Data.Transactions.Transaction.TransactionTableContainer.GetTableInfo |
( |
int |
offset | ) |
|
|
inline |
Gets the information of the table at the given offset in this container.
- Parameters
-
offset | The zero-based offset of the table whose information to return. |
- Returns
- Returns an instance of
- See also
- TableInfo
that describes the metadata of a table at the given offset within the context.
- Exceptions
-
ArgumentOutOfRangeException | If the given offset is smaller than 0 or greater or equal than TableCount. |
Implements Deveel.Data.Sql.Tables.ITableContainer.
Definition at line 299 of file Transaction.cs.
300 if (offset < 0 || offset >=
tableInfos.Length)
301 throw new ArgumentOutOfRangeException(
"offset");
readonly TableInfo[] tableInfos
ObjectName Deveel.Data.Transactions.Transaction.TransactionTableContainer.GetTableName |
( |
int |
offset | ) |
|
|
inline |
Gets the name of the table at the given index in this container.
- Parameters
-
offset | The zero-based offset of the table whose name to return. |
- Returns
- Returns a
- See also
- ObjectName
that identifies the table.
- Exceptions
-
ArgumentOutOfRangeException | If the given offset is smaller than 0 or greater or equal than TableCount. |
Implements Deveel.Data.Sql.Tables.ITableContainer.
Definition at line 292 of file Transaction.cs.
293 if (offset < 0 || offset >=
tableInfos.Length)
294 throw new ArgumentOutOfRangeException(
"offset");
ObjectName TableName
Gets the fully qualified name of the table that is ensured to be unique within the system...
readonly TableInfo[] tableInfos
string Deveel.Data.Transactions.Transaction.TransactionTableContainer.GetTableType |
( |
int |
offset | ) |
|
|
inline |
Gets the type of the table at the given offset.
- Parameters
-
offset | The zero-based offset of the table whose type to return. |
- Returns
- Returns a String that describes the type of table at the given offset.
- Exceptions
-
ArgumentOutOfRangeException | If the given offset is smaller than 0 or greater or equal than TableCount. |
Implements Deveel.Data.Sql.Tables.ITableContainer.
Definition at line 306 of file Transaction.cs.
307 return TableTypes.SystemTable;
readonly TableInfo [] Deveel.Data.Transactions.Transaction.TransactionTableContainer.tableInfos |
|
private |
readonly Transaction Deveel.Data.Transactions.Transaction.TransactionTableContainer.transaction |
|
private |
int Deveel.Data.Transactions.Transaction.TransactionTableContainer.TableCount |
|
get |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Transactions/Transaction.cs