Uses of Class
com.mckoi.database.DataTableDef
-
Packages that use DataTableDef Package Description com.mckoi.database The core database classes for Mckoi.com.mckoi.database.interpret -
-
Uses of DataTableDef in com.mckoi.database
Fields in com.mckoi.database declared as DataTableDef Modifier and Type Field Description (package private) static DataTableDef
GTConnectionInfoDataSource. DEF_DATA_TABLE_DEF
The data table def that describes this table of data source.(package private) static DataTableDef
GTCurrentConnectionsDataSource. DEF_DATA_TABLE_DEF
The data table def that describes this table of data source.(package private) static DataTableDef
GTPrivMapDataSource. DEF_DATA_TABLE_DEF
The data table def that describes this table of data source.(package private) static DataTableDef
GTProductDataSource. DEF_DATA_TABLE_DEF
The data table def that describes this table of data source.(package private) static DataTableDef
GTSQLTypeInfoDataSource. DEF_DATA_TABLE_DEF
The data table def that describes this table of data source.(package private) static DataTableDef
GTStatisticsDataSource. DEF_DATA_TABLE_DEF
The data table def that describes this table of data source.(package private) static DataTableDef
GTTableColumnsDataSource. DEF_DATA_TABLE_DEF
The data table def that describes this table of data source.(package private) static DataTableDef
GTTableInfoDataSource. DEF_DATA_TABLE_DEF
The data table def that describes this table of data source.private DataTableDef
FunctionTable. fun_table_def
The DataTableDef object that describes the columns in this function table.private static DataTableDef[]
DatabaseConnection. INTERNAL_DEF_LIST
A list of DataTableDef system table definitions for tables internal to the database connection.private static DataTableDef[]
Transaction. INTERNAL_DEF_LIST
A list of DataTableDef system table definitions for tables internal to the transaction.private DataTableDef
ReferenceTable. modified_table_def
The modified DataTableDef object for this reference.private DataTableDef
SubsetColumnTable. subset_table_def
The DataTableDef object that describes the subset column of this table.private DataTableDef
DatabaseConnection.TriggeredOldNewDataSource. table_def
protected DataTableDef
MasterTableDataSource. table_def
A DataTableDef object that describes the table topology.private DataTableDef
RowData. table_def
The definition of the table.private DataTableDef
SimpleTableQuery. table_def
The DataTableDef for this table.private DataTableDef
TemporaryTable. table_def
The DataTableDef object that describes the columns in this table.private DataTableDef[]
AbstractInternalTableInfo. table_def_list
The list of DataTableDef objects that descibe each table in the above list.private DataTableDef
ViewDef. view_def
The DataTableDef object that describes the view column def.private DataTableDef[]
GTTableColumnsDataSource. visible_tables
The list of all DataTableDef visible to the transaction.private DataTableDef
JoinedTable. vt_table_def
The DataTableDef object that describes the columns and name of this table.Methods in com.mckoi.database that return DataTableDef Modifier and Type Method Description private static DataTableDef
ConnectionTriggerManager.TriggerInternalTableInfo. createDataTableDef(java.lang.String schema, java.lang.String name)
private static DataTableDef
ProcedureManager.ProcedureInternalTableInfo. createDataTableDef(java.lang.String schema, java.lang.String name)
private static DataTableDef
SequenceManager.SequenceInternalTableInfo. createDataTableDef(java.lang.String schema, java.lang.String name)
DataTableDef
AbstractInternalTableInfo. getDataTableDef(int i)
Returns the DataTableDef object that describes the table at the given index in this container.abstract DataTableDef
AbstractInternalTableInfo2. getDataTableDef(int i)
DataTableDef
CompositeTable. getDataTableDef()
DataTableDef
ConnectionTriggerManager.TriggerInternalTableInfo. getDataTableDef(int i)
DataTableDef
DatabaseConnection. getDataTableDef(TableName name)
Returns the DataTableDef for the table with the given name.DataTableDef
DatabaseConnection.OldAndNewInternalTableInfo. getDataTableDef(int i)
DataTableDef
DatabaseConnection.TriggeredOldNewDataSource. getDataTableDef()
DataTableDef
DatabaseQueryContext. getDataTableDef(TableName name)
Returns a DataTableDef for the given table name.DataTableDef
DataTable. getDataTableDef()
Returns the DataTableDef object for this table.DataTableDef
DataTableFilter. getDataTableDef()
Returns a DataTableDef object that defines the name of the table and the layout of the columns of the table.DataTableDef
FilterTable. getDataTableDef()
Returns a DataTableDef object that defines the name of the table and the layout of the columns of the table.DataTableDef
FunctionTable. getDataTableDef()
Returns the DataTableDef object that represents the columns in this function table.DataTableDef
GTConnectionInfoDataSource. getDataTableDef()
DataTableDef
GTCurrentConnectionsDataSource. getDataTableDef()
abstract DataTableDef
GTDataSource. getDataTableDef()
DataTableDef
GTPrivMapDataSource. getDataTableDef()
DataTableDef
GTProductDataSource. getDataTableDef()
DataTableDef
GTSQLTypeInfoDataSource. getDataTableDef()
DataTableDef
GTStatisticsDataSource. getDataTableDef()
DataTableDef
GTTableColumnsDataSource. getDataTableDef()
DataTableDef
GTTableInfoDataSource. getDataTableDef()
DataTableDef
InternalTableInfo. getDataTableDef(int i)
Returns the DataTableDef object that describes the table at the given index in this container.DataTableDef
JoinedTable. getDataTableDef()
Returns the DataTableDef object that describes the columns in this table.(package private) DataTableDef
MasterTableDataSource. getDataTableDef()
Returns the DataTableDef object that represents the topology of this table data source (name, columns, etc).DataTableDef
MasterTableDataSource.MMutableTableDataSource. getDataTableDef()
DataTableDef
MasterTableDataSource.MRawDiagnosticTable. getDataTableDef()
DataTableDef
ProcedureManager.ProcedureInternalTableInfo. getDataTableDef(int i)
DataTableDef
RawDiagnosticTable. getDataTableDef()
Returns the DataTableDef object that describes the logical topology of the columns in this table.DataTableDef
ReferenceTable. getDataTableDef()
Returns the 'modified' DataTableDef object for this reference.DataTableDef
SequenceManager.SequenceInternalTableInfo. getDataTableDef(int i)
DataTableDef
SimpleTransaction. getDataTableDef(TableName table_name)
Returns the DataTableDef for the table with the given name that is visible within this transaction.DataTableDef
SubsetColumnTable. getDataTableDef()
Returns the DataTableDef object that describes the columns and name of this table.abstract DataTableDef
Table. getDataTableDef()
Returns a DataTableDef object that defines the name of the table and the layout of the columns of the table.DataTableDef
TableAccessState. getDataTableDef()
Returns the DataTableDef object that contains information on the columns of the table.DataTableDef
TableDataSource. getDataTableDef()
Returns a DataTableDef object that defines the layout of the table that this data is in.DataTableDef
TableQueryDef. getDataTableDef()
Returns an immutable DataTableDef object that describes the columns in this table source, and the name of the table.DataTableDef
TemporaryTable. getDataTableDef()
DataTableDef
ViewDef. getDataTableDef()
Returns the DataTableDef for this view.DataTableDef
ViewManager.ViewInternalTableInfo. getDataTableDef(int i)
DataTableDef
TableDescriptions. getDef(java.lang.String table_name)
Returns the DataTableDef object for the table with the given name.protected DataTableDef
SimpleTransaction. getDynamicDataTableDef(TableName table_name)
Returns the DataTableDef for a dynamic table defined in this transaction.protected DataTableDef
Transaction. getDynamicDataTableDef(TableName table_name)
Returns the DataTableDef for the given internal table.(package private) DataTableDef
V1MasterTableDataSource. loadDataTableDef()
DataTableDef
DataTableDef. noColumnCopy()
Returns a copy of this object, except with no columns or constraints.(package private) static DataTableDef
DataTableDef. read(java.io.DataInput in)
Reads this DataTableDef file from the data input stream.Methods in com.mckoi.database with parameters of type DataTableDef Modifier and Type Method Description (package private) void
TableDescriptions. add(DataTableDef table)
Adds a new DataTableDef object to the list of tables in the database.void
DatabaseConnection. alterCreateTable(DataTableDef table_def)
Given a DataTableDef, if the table exists then it is updated otherwise if it doesn't exist then it is created.void
DatabaseConnection. alterCreateTable(DataTableDef table_def, int data_sector_size, int index_sector_size)
Given a DataTableDef, if the table exists then it is updated otherwise if it doesn't exist then it is created.void
Transaction. alterCreateTable(DataTableDef table_def, int data_sector_size, int index_sector_size)
Given a DataTableDef, if the table exists then it is updated otherwise if it doesn't exist then it is created.void
Transaction. alterTable(TableName table_name, DataTableDef table_def)
Alters the table with the given name within this transaction to the specified table definition.void
Transaction. alterTable(TableName table_name, DataTableDef table_def, int data_sector_size, int index_sector_size)
Alter the table with the given name to the new definition and give the copied table a new data sector size.(package private) static java.util.ArrayList
ConvertUtils. convertIndexFiles1(java.io.File original_ijf, IndexStore new_store, DataTableDef table_def, DebugLogger logger)
Upgrades an .ijf index file to an .iid IndexStore.void
DataTableFile. create(DataTableDef def)
Creates a new file of the given table.(package private) void
V1MasterTableDataSource. create(int table_id, DataTableDef table_def, int data_sector_size, int index_sector_size)
Physically create this master table in the file system at the given path.(package private) void
V2MasterTableDataSource. create(int table_id, DataTableDef table_def)
Create this master table in the file system at the given path.(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.void
DatabaseConnection. createTable(DataTableDef table_def)
Create a new table within the context of the current connection transaction.void
DatabaseConnection. createTable(DataTableDef table_def, int data_sector_size, int index_sector_size)
Create a new table with a starting initial sector size.void
Transaction. createTable(DataTableDef table_def)
Creates a new table within this transaction.void
Transaction. createTable(DataTableDef table_def, int data_sector_size, int index_sector_size)
Creates a new table within this transaction with the given sector size.(package private) static int[]
TableDataConglomerate. findColumnIndices(DataTableDef table_def, java.lang.String[] cols)
Returns a list of column indices into the given DataTableDef for the given column names.Transaction.CheckExpression
DatabaseSystem. prepareTransactionCheckConstraint(DataTableDef table_def, Transaction.CheckExpression check)
Given a Transaction.CheckExpression, this will prepare the expression and return a new prepared CheckExpression.Transaction.CheckExpression
TransactionSystem. prepareTransactionCheckConstraint(DataTableDef table_def, Transaction.CheckExpression check)
Given a Transaction.CheckExpression, this will prepare the expression and return a new prepared CheckExpression.(package private) void
V1MasterTableDataSource. saveDataTableDef(DataTableDef def)
protected void
MasterTableDataSource. setupDataTableDef(DataTableDef table_def)
Sets up the DataTableDef.(package private) void
MasterTableJournal. testCommitClash(DataTableDef table_def, MasterTableJournal journal)
Throws a transaction clash exception if it detects a clash between journal entries.boolean
DataTableFile. update(DataTableDef def)
Updates a file of the given table.void
DatabaseConnection. updateTable(DataTableDef table_def)
Updates a given table within the context of the current connection transaction.void
DatabaseConnection. updateTable(DataTableDef table_def, int data_sector_size, int index_sector_size)
Updates a given table within the context of the current connection transaction.Constructors in com.mckoi.database with parameters of type DataTableDef Constructor Description AbstractInternalTableInfo(java.lang.String type, DataTableDef[] table_def_list)
Constructs the container than manages the creation of the given table objects.DataTableDef(DataTableDef table_def)
Copy constructor.ReferenceTable(Table table, DataTableDef def)
Constructs the ReferenceTable given the parent table, and a new DataTableDef that describes the columns in this table.TriggeredOldNewDataSource(TransactionSystem system, DataTableDef table_def)
Constructor.ViewDef(DataTableDef view_def, QueryPlanNode query_node)
Constructs the ViewDef object. -
Uses of DataTableDef in com.mckoi.database.interpret
Fields in com.mckoi.database.interpret declared as DataTableDef Modifier and Type Field Description private DataTableDef
FromTableDirectSource. data_table_def
The DataTableDef object that describes the table.Methods in com.mckoi.database.interpret that return DataTableDef Modifier and Type Method Description (package private) DataTableDef
CreateTable. createDataTableDef()
Creates a DataTableDef that describes the table that was defined by this create statement.
-