public class DataTableFilter extends AbstractDataTable
| Modifier and Type | Field and Description |
|---|---|
protected AbstractDataTable |
parent
The parent DataTable object.
|
DEBUG_QUERY| Modifier | Constructor and Description |
|---|---|
protected |
DataTableFilter(AbstractDataTable table)
The Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
findFieldName(Variable v)
Given a fully qualified variable field name, ie.
|
TObject |
getCellContents(int column,
int row)
Returns an object that represents the information in the given cell
in the table.
|
int |
getColumnCount()
Returns the number of columns in the table.
|
Database |
getDatabase()
Returns the Database context for this filtered table.
|
DataTableDef |
getDataTableDef()
Returns a DataTableDef object that defines the name of the table and the
layout of the columns of the table.
|
Variable |
getResolvedVariable(int column)
Returns a fully qualified Variable object that represents the name of
the column at the given index.
|
int |
getRowCount()
Returns the number of rows stored in the table.
|
boolean |
hasRootsLocked()
Returns true if the table has its row roots locked (via the lockRoot(int)
method.
|
void |
lockRoot(int lock_key)
Locks the root table(s) of this table so that it is impossible to
overwrite the underlying rows that may appear in this table.
|
RowEnumeration |
rowEnumeration()
Returns an Enumeration of the rows in this table.
|
void |
unlockRoot(int lock_key)
Unlocks the root tables so that the underlying rows may
once again be used if they are not locked and have been removed.
|
getTableName, toString, typeEqualsall, 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, printGraph, rangeSelect, selectAll, selectAll, selectFirst, selectLast, selectRange, selectRest, simpleJoin, simpleSelect, singleRowSelect, toMap, unionprotected AbstractDataTable parent
protected DataTableFilter(AbstractDataTable table)
public Database getDatabase()
getDatabase in class Tablepublic int getColumnCount()
getColumnCount in class Tablepublic final int getRowCount()
getRowCount in interface TableDataSourcegetRowCount in class Tablepublic int findFieldName(Variable v)
findFieldName in class Tablepublic Variable getResolvedVariable(int column)
getResolvedVariable in class Tablepublic final TObject getCellContents(int column, int row)
getCellContents in interface TableDataSourcegetCellContents in class Tablepublic final RowEnumeration rowEnumeration()
rowEnumeration in interface TableDataSourcerowEnumeration in class Tablepublic DataTableDef getDataTableDef()
getDataTableDef in interface TableDataSourcegetDataTableDef in class Tablepublic void lockRoot(int lock_key)
public void unlockRoot(int lock_key)
unlockRoot in class Tablepublic boolean hasRootsLocked()
hasRootsLocked in class TableCopyright © 2016. All rights reserved.