Uses of Class
com.mckoi.database.Table
Packages that use Table
Package
Description
The core database classes for Mckoi.
Implementations of the RegexLibrary interface,
which allows the application to select which regular expression package
to use.
-
Uses of Table in com.mckoi.database
Subclasses of Table in com.mckoi.databaseModifier and TypeClassDescriptionclass
This is the abstract class implemented by a DataTable like table.class
A composite of two or more datasets used to implement UNION, INTERSECTION, and DIFFERENCE.final class
DataTable is a wrapper for a MutableTableDataSource that fits into the query hierarchy level.class
This object sits on top of a DataTable object filtering out certain types of calls.class
This represents a default implementation of a DataTable.class
A table that is a filter for another table.class
A table that has a number of columns and as many rows as the refering table.class
A Table that represents the result of one or more other tables joined together.final class
A table that is the cartesian product of two tables.final class
This is an implementation of a Table that references a DataTable as its parent.final class
This object is a filter that sits atop a Table object.final class
This class represents a temporary table that is built from data that is not related to any underlying DataTable object from the database.class
A VirtualTable is a representation of a table whose rows are actually physically stored in another table.Fields in com.mckoi.database declared as TableModifier and TypeFieldDescriptionprotected Table
FilterTable.parent
The Table we are filtering the columns from.protected Table[]
JoinedTable.reference_list
The list of tables that make up the join.Methods in com.mckoi.database that return TableModifier and TypeMethodDescriptionTable.all
(QueryContext context, Expression lhs, Operator op, Table table) Evaluates a non-correlated ALL type operator given the LHS expression, the RHS subquery and the ALL operator to use.Table.any
(QueryContext context, Expression lhs, Operator op, Table right_table) Evaluates a non-correlated ANY type operator given the LHS expression, the RHS subquery and the ANY operator to use.final Table
Table.columnMerge
(Table table) Returns a Table that is a merge of this table and the destination table.final Table
Table.distinct
(int[] col_map) Returns a new table that has only distinct rows in it.final Table
Table.emptySelect()
Returns a new Table based on this table with no rows in it.QueryPlan.CachePointNode.evaluate
(QueryContext context) QueryPlan.CompositeNode.evaluate
(QueryContext context) QueryPlan.ConstantSelectNode.evaluate
(QueryContext context) QueryPlan.CreateFunctionsNode.evaluate
(QueryContext context) QueryPlan.DistinctNode.evaluate
(QueryContext context) QueryPlan.EquiJoinNode.evaluate
(QueryContext context) QueryPlan.ExhaustiveSelectNode.evaluate
(QueryContext context) QueryPlan.FetchTableNode.evaluate
(QueryContext context) QueryPlan.FetchViewNode.evaluate
(QueryContext context) QueryPlan.FunctionalSelectNode.evaluate
(QueryContext context) QueryPlan.GroupNode.evaluate
(QueryContext context) QueryPlan.JoinNode.evaluate
(QueryContext context) QueryPlan.LeftOuterJoinNode.evaluate
(QueryContext context) QueryPlan.LogicalUnionNode.evaluate
(QueryContext context) QueryPlan.MarkerNode.evaluate
(QueryContext context) QueryPlan.MultiColumnEquiSelectNode.evaluate
(QueryContext context) QueryPlan.NaturalJoinNode.evaluate
(QueryContext context) QueryPlan.NonCorrelatedAnyAllNode.evaluate
(QueryContext context) QueryPlan.RangeSelectNode.evaluate
(QueryContext context) QueryPlan.SimplePatternSelectNode.evaluate
(QueryContext context) QueryPlan.SimpleSelectNode.evaluate
(QueryContext context) QueryPlan.SingleRowTableNode.evaluate
(QueryContext context) QueryPlan.SortNode.evaluate
(QueryContext context) QueryPlan.SubsetNode.evaluate
(QueryContext context) QueryPlanNode.evaluate
(QueryContext context) Evaluates the node and returns the result as a Table.Executes the procudure and returns the resultant table.final Table
Table.exhaustiveSelect
(QueryContext context, Expression exp) Exhaustively searches through this table for rows that match the expression given.AbstractQueryContext.getCachedNode
(long id) Returns a cached table or null if it isn't cached.QueryContext.getCachedNode
(long id) Returns a cached table or null if it isn't cached.AbstractQueryContext.getMarkedTable
(String mark_name) Returns a table that was marked in a query plan or null if no mark was found.QueryContext.getMarkedTable
(String mark_name) Returns a table that was marked in a query plan or null if no mark was found.protected Table
FilterTable.getParent()
Returns the parent table.FunctionTable.getReferenceTable()
Returns the Table this function is based on.protected final Table[]
JoinedTable.getReferenceTables()
Returns the list of Table objects that represent this VirtualTable.final Table
Database.getSingleRowTable()
Returns a static table that has a single row but no columns.final Table
Performs a natural join of this table with the given table.FunctionTable.mergeWithReference
(Variable max_column) Returns a Table that is this function table merged with the cross reference table.final Table
Table.orderByColumns
(int[] col_map) Returns a table that is ordered by the given column numbers.final Table
Table.rangeSelect
(Variable col_var, SelectableRange[] ranges) A single column range select on this table.static Table
FunctionTable.resultTable
(DatabaseQueryContext context, int result_val) Returns a FunctionTable that has an int value made into a BigDecimal.static Table
FunctionTable.resultTable
(DatabaseQueryContext context, Expression expression) Returns a FunctionTable that has a single Expression evaluated in it.static Table
FunctionTable.resultTable
(DatabaseQueryContext context, TObject ob) Returns a FunctionTable that has a single TObject in it.static Table
FunctionTable.resultTable
(DatabaseQueryContext context, Object ob) Returns a FunctionTable that has a single Object in it.final Table
Table.simpleJoin
(QueryContext context, Table table, Variable lhs_var, Operator op, Expression rhs) A simple join operation.final Table
Table.simpleSelect
(QueryContext context, Variable lhs_var, Operator op, Expression rhs) A simple select on this table.final Table
Table.singleRowSelect
(int row_index) Selects a single row at the given index from this table.final Table
Returns a new Table that is the union of the this table and the given table.Methods in com.mckoi.database with parameters of type TableModifier and TypeMethodDescriptionvoid
AbstractQueryContext.addMarkedTable
(String mark_name, Table table) Marks a table in a query plan.void
QueryContext.addMarkedTable
(String mark_name, Table table) Marks a table in a query plan.Table.all
(QueryContext context, Expression lhs, Operator op, Table table) Evaluates a non-correlated ALL type operator given the LHS expression, the RHS subquery and the ALL operator to use.Table.any
(QueryContext context, Expression lhs, Operator op, Table right_table) Evaluates a non-correlated ANY type operator given the LHS expression, the RHS subquery and the ANY operator to use.final Table
Table.columnMerge
(Table table) Returns a Table that is a merge of this table and the destination table.void
Copies the contents of the row of the given Table onto the end of this table.int
int
This is the public method for removing a given result set from this table.SelectableScheme.getSubsetScheme
(Table subset_table, int subset_column) Asks the Scheme for a SelectableScheme abject that describes a sub-set of the set handled by this Scheme.protected void
Helper function for initializing the variables in the joined table.protected void
Helper function for the constructor.final Table
Performs a natural join of this table with the given table.final VirtualTable
Finds all rows in this table that are 'outside' the result in the given table.void
AbstractQueryContext.putCachedNode
(long id, Table table) Put a Table into the cache.void
QueryContext.putCachedNode
(long id, Table table) Put a Table into the cache.RegexLibrary.regexSearch
(Table table, int column, String regular_expression, String expression_ops) Performs a regular expression search on the given column of the table.void
TemporaryTable.setCellFrom
(Table table, int src_col, int src_row, String to_col) Copies the cell from the given table (src_col, src_row) to the last row of the column specified of this table.final Table
Table.simpleJoin
(QueryContext context, Table table, Variable lhs_var, Operator op, Expression rhs) A simple join operation.final Table
Returns a new Table that is the union of the this table and the given table.final int
DataTable.update
(QueryContext context, Table table, Assignment[] assign_list, int limit) Updates the table by applying the assignment operations over each row that is found in the input 'table' set.Constructors in com.mckoi.database with parameters of type TableModifierConstructorDescriptionCompositeTable
(Table[] composite_list) Consturcts the composite table assuming the first item in the list is the master table.CompositeTable
(Table master_table, Table[] composite_list) Constructs the composite table given the 'master_table' (the field structure this composite dataset is based on), and a list of tables to be the composite of this table.FilterTable
(Table parent) The Constructor.FunctionTable
(Table cross_ref_table, Expression[] in_exp_list, String[] col_names, DatabaseQueryContext context) Constructs the FunctionTable.NaturallyJoinedTable
(Table left, Table right) Constructs the table.SubsetColumnTable
(Table parent) The Constructor.TemporaryTable
(String name, Table based_on) Constructs this TemporaryTable based on the fields from the given Table object. -
Uses of Table in com.mckoi.database.interpret
Methods in com.mckoi.database.interpret that return TableModifier and TypeMethodDescriptionAlterTable.evaluate()
Call.evaluate()
Compact.evaluate()
CompleteTransaction.evaluate()
CreateTable.evaluate()
CreateTrigger.evaluate()
Delete.evaluate()
DropTable.evaluate()
DropTrigger.evaluate()
Function.evaluate()
Insert.evaluate()
Misc.evaluate()
NoOp.evaluate()
PrivManager.evaluate()
Schema.evaluate()
Select.evaluate()
Evaluates the select statement with the given Database context.Sequence.evaluate()
Set.evaluate()
Show.evaluate()
abstract Table
Statement.evaluate()
Evaluates the statement and returns a table that represents the result set.UpdateTable.evaluate()
UserManager.evaluate()
ViewManager.evaluate()
SQLQueryExecutor.execute
(DatabaseConnection connection, SQLQuery query) Executes the given SQLQuery object on the given DatabaseConnection object. -
Uses of Table in com.mckoi.database.regexbridge
Methods in com.mckoi.database.regexbridge with parameters of type TableModifier and TypeMethodDescriptionJavaRegex.regexSearch
(Table table, int column, String regular_expression, String expression_ops)