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.
parent
DEBUG_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, unlockRoot
all, 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, union
public TableName getTableName()
public DataTableDef getDataTableDef()
getDataTableDef
in interface TableDataSource
getDataTableDef
in class FilterTable
public int findFieldName(Variable v)
findFieldName
in class FilterTable
public Variable getResolvedVariable(int column)
getResolvedVariable
in class FilterTable
public boolean typeEquals(RootTable table)
RootTable
typeEquals
in interface RootTable
Copyright © 2015. All rights reserved.