Uses of Class
com.mckoi.database.MasterTableDataSource
-
Packages that use MasterTableDataSource Package Description com.mckoi.database The core database classes for Mckoi. -
-
Uses of MasterTableDataSource in com.mckoi.database
Subclasses of MasterTableDataSource in com.mckoi.database Modifier and Type Class Description class
V1MasterTableDataSource
A MasterTableDataSource that uses IndexStore and VariableSizeDataStore as its backing mechanism for representing the table structure in a file on disk.class
V2MasterTableDataSource
A MasterTableDataSource that is backed by a non-shared com.mckoi.store.Store object.Fields in com.mckoi.database declared as MasterTableDataSource Modifier and Type Field Description private MasterTableDataSource
MasterTableGarbageCollector. data_source
The MasterTableDataSource that this collector is managing.(package private) MasterTableDataSource
TableDataConglomerate.CommitTableInfo. master
private MasterTableDataSource
RIDList. master_table
The master table for the column this is in.Methods in com.mckoi.database that return MasterTableDataSource Modifier and Type Method Description (package private) MasterTableDataSource
TableDataConglomerate. copyMasterTable(MasterTableDataSource src_master_table, IndexSet index_set)
Creates a table store in this conglomerate that is an exact copy of the given MasterTableDataSource.(package private) MasterTableDataSource
TableDataConglomerate. createMasterTable(DataTableDef table_def, int data_sector_size, int index_sector_size)
Creates a table store in this conglomerate with the given name and returns a reference to the table.protected MasterTableDataSource
SimpleTransaction. findVisibleTable(TableName table_name, boolean ignore_case)
Searches through the list of tables visible within this transaction and returns the MasterTableDataSource object with the given name.(package private) MasterTableDataSource
TableDataConglomerate. getMasterTable(int table_id)
Returns the MasterTableDataSource in this conglomerate with the given table id.protected MasterTableDataSource
SimpleTransaction. getVisibleTable(int n)
Returns a MasterTableDataSource object representing table 'n' in the set of tables visible in this transaction.private MasterTableDataSource
TableDataConglomerate. loadMasterTable(int table_id, java.lang.String table_str, int table_type)
Loads the master table given the table_id and the name of the table resource in the database path.Methods in com.mckoi.database with parameters of type MasterTableDataSource Modifier and Type Method Description (package private) void
SimpleTransaction. addVisibleTable(MasterTableDataSource table, IndexSet index_set)
Adds a MasterTableDataSource and IndexSet to this transaction view.private static boolean
TableDataConglomerate. commitTableListContains(java.util.List list, MasterTableDataSource master)
Returns true if the given List of 'CommitTableInfo' objects contains an entry for the given master table.(package private) void
V2MasterTableDataSource. copy(int table_id, MasterTableDataSource src_master_table, IndexSet index_set)
Creates a new v2 master table data source that is a copy of the given MasterTableDataSource object.(package private) MasterTableDataSource
TableDataConglomerate. copyMasterTable(MasterTableDataSource src_master_table, IndexSet index_set)
Creates a table store in this conglomerate that is an exact copy of the given MasterTableDataSource.private void
V2MasterTableDataSource. copyRecordFrom(MasterTableDataSource src_master_table, int record_id)
Copies the record at the given index in the source table to the same record index in this table.void
Transaction. copyTable(MasterTableDataSource src_master_table, IndexSet index_set)
Generates an exact copy of the table within this transaction.private static java.lang.String
TableDataConglomerate. createEncodedTableFile(MasterTableDataSource table)
Returns a string that is an encoded table file name.(package private) abstract MutableTableDataSource
SimpleTransaction. createMutableTableDataSourceAtCommit(MasterTableDataSource master)
Returns a new MutableTableDataSource for the view of the MasterTableDataSource at the start of this transaction.MutableTableDataSource
Transaction. createMutableTableDataSourceAtCommit(MasterTableDataSource master)
Overwritten from SimpleTransaction.(package private) IndexSet
SimpleTransaction. getIndexSetForTable(MasterTableDataSource table)
Returns the IndexSet for the given MasterTableDataSource object that is visible in this transaction.(package private) void
SimpleTransaction. removeVisibleTable(MasterTableDataSource table)
Removes a MasterTableDataSource (and its IndexSet) from this view and puts the information on the cleanup queue.protected void
SimpleTransaction. setIndexSetForTable(MasterTableDataSource table, IndexSet index_set)
Sets the IndexSet for the given MasterTableDataSource object in this transaction.(package private) void
SimpleTransaction. updateVisibleTable(MasterTableDataSource table, IndexSet index_set)
Updates a MastertableDataSource (and its IndexSet) for this view.Constructors in com.mckoi.database with parameters of type MasterTableDataSource Constructor Description MasterTableGarbageCollector(MasterTableDataSource data_source)
Constructs the garbage collector.RIDList(MasterTableDataSource master_table, int column)
Constructs the object.
-