org.axiondb.engine.tables
public abstract class BaseTable extends AbstractBaseTable implements Table
Version: $Revision: 1.28 $ $Date: 2005/12/22 09:02:31 $
Constructor Summary | |
---|---|
BaseTable(String name) |
Method Summary | |
---|---|
void | addColumn(Column col)
Add the given Columnto this table. |
void | addConstraint(Constraint constraint) |
void | addIndex(Index index) |
void | addRow(Row row) |
abstract void | applyDeletes(IntCollection rowids) |
protected void | applyDeletesToIndices(IntCollection rowIds) |
abstract void | applyInserts(RowCollection rows) |
protected void | applyInsertsToIndices(RowCollection rows) |
abstract void | applyUpdates(RowCollection rows) |
protected void | applyUpdatesToIndices(RowCollection rows) |
void | checkpoint() |
protected void | clearCache() |
void | deleteRow(Row row) |
void | drop() |
abstract void | freeRowId(int id) |
Column | getColumn(int index) |
Column | getColumn(String name) |
int | getColumnCount() |
List | getColumnIdentifiers() |
int | getColumnIndex(String name) |
Constraint | getConstraint(String name) |
Iterator | getConstraints() |
RowIterator | getIndexedRows(Selectable node, boolean readOnly) |
RowIterator | getIndexedRows(RowSource source, Selectable node, boolean readOnly) |
Index | getIndexForColumn(Column column) |
Iterator | getIndices() |
String | getName() |
abstract int | getNextRowId() |
abstract Row | getRow(int id) |
abstract int | getRowCount() |
protected abstract RowIterator | getRowIterator() |
RowIterator | getRowIterator(boolean readOnly) |
Sequence | getSequence() |
String | getType() |
boolean | hasColumn(ColumnIdentifier id) |
boolean | hasIndex(String name) |
boolean | isColumnIndexed(Column column) |
boolean | isPrimaryKeyConstraintExists(String columnName)
check if primary constraint exists on a column
|
boolean | isUniqueConstraintExists(String columnName)
check if unique constraint exists on a column
|
RowDecorator | makeRowDecorator() |
TransactableTable | makeTransactableTable() |
protected void | notifyColumnsOfNewLobDir(File directory) |
abstract void | populateIndex(Index index) |
protected void | readColumns(ObjectInputStream in) |
protected void | readConstraints(ObjectInputStream in, Database db) |
protected void | recreateIndices() |
void | remount(File dir, boolean datafilesonly) |
Constraint | removeConstraint(String name) |
void | removeIndex(Index index) |
void | rename(String oldName, String newName) |
protected void | setName(String name) |
void | setSequence(Sequence seq) |
protected void | setType(String type) |
void | shutdown() |
String | toString() |
protected void | truncateIndices() |
void | updateRow(Row oldrow, Row newrow) |
protected void | writeColumns(ObjectOutputStream out) |
protected void | writeConstraints(ObjectOutputStream out) |
Parameters: ColumnName name of the column
Returns: if PrimaryKeyConstraint exists on the column
Parameters: columnName name of the columm
Returns: true if uniqueConstraint exists on the column