Uses of Class
com.mckoi.database.DataTable
-
Packages that use DataTable Package Description com.mckoi.database The core database classes for Mckoi.com.mckoi.database.interpret -
-
Uses of DataTable in com.mckoi.database
Fields in com.mckoi.database declared as DataTable Modifier and Type Field Description (package private) DataTable
DatabaseConnection.OldNewTableState. NEW_data_table
The DataTable object that represents the NEW table, if set.(package private) DataTable
DatabaseConnection.OldNewTableState. OLD_data_table
The DataTable object that represents the OLD table, if set.private DataTable
LockingQueue. parent_table
The DataTable this queue is 'protecting'Methods in com.mckoi.database that return DataTable Modifier and Type Method Description DataTable[]
DatabaseProcedure. getReadTables(DatabaseConnection db)
This returns a DataTable[] array that lists the DataTables that are read during this procedure.DataTable
DatabaseConnection. getTable(TableName name)
Returns a DataTable that represents the table from the given schema, name in the database.DataTable
DatabaseConnection. getTable(java.lang.String table_name)
Returns a DataTable that represents the table with the given name in the database from the current connection schema.DataTable
DatabaseQueryContext. getTable(TableName name)
Returns a DataTable from the database with the given table name.(package private) DataTable
Lock. getTable()
Returns the DataTable object this lock is locking(package private) DataTable
LockingQueue. getTable()
Returns the DataTable object the queue is 'attached' to.DataTable[]
DatabaseProcedure. getWriteTables(DatabaseConnection db)
Returns a DataTable[] array that lists the DataTables that are written to during this procedure.Methods in com.mckoi.database with parameters of type DataTable Modifier and Type Method Description void
LockHandle. checkAccess(DataTable table, int access_type)
Blocks until access to the given DataTable object is safe.private Table
ProcedureManager. findProcedureEntry(DataTable table, ProcedureName procedure_name)
Given the SYS_FUNCTION table, this returns a new table that contains the entry with the given procedure name, or an empty result if nothing found.private Table
ConnectionTriggerManager. findTrigger(QueryContext context, DataTable table, java.lang.String schema, java.lang.String name)
Returns a Table object that contains the trigger information with the given name.private Table
ViewManager. findViewEntry(DataTable table, TableName view_name)
Given the SYS_VIEW table, this returns a new table that contains the entry with the given view name, or an empty result if the view is not found.private LockingQueue
LockingMechanism. getQueueFor(DataTable table)
This is a helper function for returning the LockingQueue object for the DataTable object.(package private) boolean
RowData. isSameTable(DataTable tab)
Returns the table object this row data is assigned to.LockHandle
LockingMechanism. lockTables(DataTable[] t_write, DataTable[] t_read)
This method locks the given tables for either reading or writing.void
DataTableListener. rowAdded(DataTable table, int row_index)
Called after a row entry in the table is added.void
DataTableListener. rowDeleted(DataTable table, int row_index)
Called before a row entry in the table is deleted.private static void
Database. updateDatabaseVars(QueryContext context, DataTable database_vars, java.lang.String key, java.lang.String value)
Given the sUSRDatabaseVars table, this will update the given key with the given value in the table in the current transaction.Constructors in com.mckoi.database with parameters of type DataTable Constructor Description LockingQueue(DataTable table)
The Constructor. -
Uses of DataTable in com.mckoi.database.interpret
Fields in com.mckoi.database.interpret declared as DataTable Modifier and Type Field Description private DataTable
Insert. insert_table
The table we are inserting stuff to.private DataTable
Delete. update_table
The DataTable we are deleting from .private DataTable
UpdateTable. update_table
The DataTable we are updating.
-