Package | Description |
---|---|
com.mckoi.database |
The core database classes for Mckoi.
|
Modifier and Type | Class and Description |
---|---|
class |
Transaction
An open transaction that manages all data access to the
TableDataConglomerate.
|
Modifier and Type | Method and Description |
---|---|
SimpleTransaction |
TableCommitModificationEvent.getTransaction()
Returns the Transaction that represents the view of the database when
the changes to the table have been committed.
|
Modifier and Type | Method and Description |
---|---|
static Transaction.CheckExpression[] |
Transaction.queryTableCheckExpressions(SimpleTransaction transaction,
TableName table_name)
Returns a set of check expressions that are constrained over all new
columns added to the given table in this transaction.
|
static Transaction.ColumnGroupReference[] |
Transaction.queryTableForeignKeyReferences(SimpleTransaction transaction,
TableName table_name)
Returns an array of column references in the given table that represent
foreign key references.
|
static Transaction.ColumnGroupReference[] |
Transaction.queryTableImportedForeignKeyReferences(SimpleTransaction transaction,
TableName ref_table_name)
Returns an array of column references in the given table that represent
foreign key references that reference columns in the given table.
|
static Transaction.ColumnGroup |
Transaction.queryTablePrimaryKeyGroup(SimpleTransaction transaction,
TableName table_name)
Returns a set of primary key groups that are constrained to be unique
for the given table in this transaction (there can be only 1 primary
key defined for a table).
|
static TableName[] |
Transaction.queryTablesRelationallyLinkedTo(SimpleTransaction transaction,
TableName table)
Returns the list of tables (as a TableName array) that are dependant
on the data in the given table to maintain referential consistancy.
|
static Transaction.ColumnGroup[] |
Transaction.queryTableUniqueGroups(SimpleTransaction transaction,
TableName table_name)
Returns a set of unique groups that are constrained to be unique for
the given table in this transaction.
|
Constructor and Description |
---|
TableCommitModificationEvent(SimpleTransaction transaction,
TableName table_name,
int[] added,
int[] removed)
Constructs the event.
|
Copyright © 2015. All rights reserved.