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) DataTableDatabaseConnection.OldNewTableState. NEW_data_tableThe DataTable object that represents the NEW table, if set.(package private) DataTableDatabaseConnection.OldNewTableState. OLD_data_tableThe DataTable object that represents the OLD table, if set.private DataTableLockingQueue. parent_tableThe 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.DataTableDatabaseConnection. getTable(TableName name)Returns a DataTable that represents the table from the given schema, name in the database.DataTableDatabaseConnection. 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.DataTableDatabaseQueryContext. getTable(TableName name)Returns a DataTable from the database with the given table name.(package private) DataTableLock. getTable()Returns the DataTable object this lock is locking(package private) DataTableLockingQueue. 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 voidLockHandle. checkAccess(DataTable table, int access_type)Blocks until access to the given DataTable object is safe.private TableProcedureManager. 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 TableConnectionTriggerManager. 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 TableViewManager. 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 LockingQueueLockingMechanism. getQueueFor(DataTable table)This is a helper function for returning the LockingQueue object for the DataTable object.(package private) booleanRowData. isSameTable(DataTable tab)Returns the table object this row data is assigned to.LockHandleLockingMechanism. lockTables(DataTable[] t_write, DataTable[] t_read)This method locks the given tables for either reading or writing.voidDataTableListener. rowAdded(DataTable table, int row_index)Called after a row entry in the table is added.voidDataTableListener. rowDeleted(DataTable table, int row_index)Called before a row entry in the table is deleted.private static voidDatabase. 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 DataTableInsert. insert_tableThe table we are inserting stuff to.private DataTableDelete. update_tableThe DataTable we are deleting from .private DataTableUpdateTable. update_tableThe DataTable we are updating.
-