public final class ReferenceTable extends FilterTable implements RootTable
The entire purpose of this class is as a filter. We can use it to rename a DataTable class to any domain we feel like. This allows us to generate unique column names.
For example, say we need to join the same table. We can use this method to ensure that the newly joined table won't have duplicate column names.
This object implements RootTable.
parentDEBUG_QUERY| Modifier and Type | Method and Description |
|---|---|
int |
findFieldName(Variable v)
Given a fully qualified variable field name, ie.
|
DataTableDef |
getDataTableDef()
Returns the 'modified' DataTableDef object for this reference.
|
Variable |
getResolvedVariable(int column)
Returns a fully qualified Variable object that represents the name of
the column at the given index.
|
TableName |
getTableName()
Filters the name of the table.
|
boolean |
typeEquals(RootTable table)
This is function is used to check that two root tables are identical.
|
getCellContents, getColumnCount, getDatabase, getParent, getRowCount, hasRootsLocked, lockRoot, printGraph, rowEnumeration, unlockRootall, allColumnMatchesValue, any, columnContainsCell, columnContainsValue, columnMatchesValue, columnMerge, compareCells, Debug, distinct, distinct, dumpTo, emptySelect, exhaustiveSelect, fastFindFieldName, getColumnDefAt, getColumnScheme, getFirstCellContent, getFirstCellContent, getLastCellContent, getLastCellContent, getSingleCellContent, getSingleCellContent, getSystem, getTableAccessState, getTTypeForColumn, getTTypeForColumn, join, orderByColumn, orderByColumn, orderByColumn, orderByColumns, orderedRowList, outside, rangeSelect, selectAll, selectAll, selectFirst, selectLast, selectRange, selectRest, simpleJoin, simpleSelect, singleRowSelect, toMap, toString, unionpublic TableName getTableName()
public DataTableDef getDataTableDef()
getDataTableDef in interface TableDataSourcegetDataTableDef in class FilterTablepublic int findFieldName(Variable v)
findFieldName in class FilterTablepublic Variable getResolvedVariable(int column)
getResolvedVariable in class FilterTablepublic boolean typeEquals(RootTable table)
RootTabletypeEquals in interface RootTableCopyright © 2015. All rights reserved.