org.axiondb.engine.tables
Class TableView
public
class
TableView
extends BaseTableModificationPublisher
implements Table
A sub-query view
Table.
Version: $Revision: 1.31 $ $Date: 2006/01/10 21:02:36 $
Author: Ahimanikya Satapathy
public static String SUBQUERY
public static String VIEW
public TableView(
Database db, String name)
public void addColumn(
Column col)
public void addIndex(
Index index)
public void addRow(
Row row)
public void applyDeletes(IntCollection rowids)
public void checkpoint()
protected boolean deleteFile(File file)
public void deleteRow(
Row oldrow)
public void drop()
public void freeRowId(int id)
public final
Column getColumn(int index)
public final
Column getColumn(String name)
public final int getColumnCount()
public final List getColumnIdentifiers()
public int getColumnIndex(String name)
public Iterator getConstraints()
public final Iterator getIndices()
public
RowIterator getMatchingRows(List selectables, List values, boolean readOnly)
public final String getName()
public int getNextRowId()
public
Row getRow(int id)
public int getRowCount()
public Iterator getTables()
public final String getType()
public final boolean hasIndex(String name)
public final boolean isColumnIndexed(
Column column)
public final boolean isPrimaryKeyConstraintExists(String columnName)
check if primary constraint exists on a column
Parameters: ColumnName name of the column
Returns: if PrimaryKeyConstraint exists on the column
public boolean isUniqueConstraintExists(String columnName)
check if unique constraint exists on a column
Parameters: columnName name of the columm
Returns: true if uniqueConstraint exists on the column
public void migrate()
public void populateIndex(
Index index)
public void remount(File dir, boolean datafilesonly)
public void removeIndex(
Index index)
public void rename(String oldName, String newName)
public void setSubQuery(String query)
public void setType(String type)
public void shutdown()
public String toString()
public void truncate()
public void updateRow(
Row oldrow,
Row newrow)