|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mckoi.database.Table
com.mckoi.database.JoinedTable
com.mckoi.database.NaturallyJoinedTable
public final class NaturallyJoinedTable
A table that is the cartesian product of two tables. This provides better memory-use and efficiency than a materialized table backed by a VirtualTable.
| Field Summary |
|---|
| Fields inherited from class com.mckoi.database.JoinedTable |
|---|
column_filter, column_scheme, column_table, reference_list |
| Fields inherited from class com.mckoi.database.Table |
|---|
DEBUG_QUERY |
| Constructor Summary | |
|---|---|
NaturallyJoinedTable(Table left,
Table right)
Constructs the table. |
|
| Method Summary | |
|---|---|
int |
getRowCount()
Returns the number of rows stored in the table. |
protected void |
resolveAllRowsForTableAt(IntegerVector row_set,
int table_num)
Given an IntegerVector that represents a list of pointers to rows in this table, this resolves the rows to row indexes in the given parent table. |
protected int |
resolveRowForTableAt(int row_number,
int table_num)
Given a row and a table index (to a parent reference table), this will return the row index in the given parent table for the given row. |
| Methods inherited from class com.mckoi.database.JoinedTable |
|---|
findFieldName, getCellContents, getColumnCount, getDatabase, getDataTableDef, getReferenceTables, getResolvedVariable, hasRootsLocked, init, lockRoot, printGraph, rowEnumeration, unlockRoot |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NaturallyJoinedTable(Table left,
Table right)
| Method Detail |
|---|
public int getRowCount()
Table
getRowCount in interface TableDataSourcegetRowCount in class Table
protected int resolveRowForTableAt(int row_number,
int table_num)
JoinedTable
resolveRowForTableAt in class JoinedTable
protected void resolveAllRowsForTableAt(IntegerVector row_set,
int table_num)
JoinedTable
resolveAllRowsForTableAt in class JoinedTable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||