org.axiondb.engine.tables
Class AbstractBaseTable
java.lang.Object
org.axiondb.event.BaseTableModificationPublisher
org.axiondb.engine.tables.AbstractBaseTable
- All Implemented Interfaces:
- RowSource, Table
- Direct Known Subclasses:
- BaseTable, TransactableTableImpl
public abstract class AbstractBaseTable
- extends BaseTableModificationPublisher
- implements Table
An abstract implementation of Table
, code common between TransactableTableImpl
and BaseTable
- Version:
- $Revision: 1.4 $ $Date: 2005/12/20 18:32:28 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.axiondb.Table |
addColumn, addConstraint, addIndex, addRow, addTableModificationListener, applyDeletes, applyInserts, applyUpdates, checkpoint, deleteRow, drop, freeRowId, getColumn, getColumn, getColumnCount, getColumnIdentifiers, getColumnIndex, getConstraint, getConstraints, getIndexedRows, getIndexedRows, getIndexForColumn, getIndices, getName, getNextRowId, getRowCount, getRowIterator, getSequence, getTableModificationListeners, getType, hasColumn, hasIndex, isColumnIndexed, isPrimaryKeyConstraintExists, isUniqueConstraintExists, makeRowDecorator, makeTransactableTable, populateIndex, remount, removeConstraint, removeIndex, removeTableModificationListener, rename, setDeferAllConstraints, setSequence, shutdown, truncate, updateRow |
AbstractBaseTable
public AbstractBaseTable()
getMatchingRows
public RowIterator getMatchingRows(List selectables,
List values,
boolean readOnly)
throws AxionException
- Description copied from interface:
Table
- Obtain an
iterator
over my Row
s where each
Selectable
in the selectable list
evaluates
to the corresponding value in the value
list
.
This is functionally similiar to executing a SELECT over this table where
selectable[i] = value[i] for each value of i . The return
RowIterator is not modifiable.
- Specified by:
getMatchingRows
in interface Table
- Throws:
AxionException
migrate
public void migrate()
throws AxionException
- Description copied from interface:
Table
- Migrate from older version to newer version for this table
- Specified by:
migrate
in interface Table
- Throws:
AxionException
checkConstraints
protected void checkConstraints(RowEvent event,
RowDecorator dec)
throws AxionException
- Throws:
AxionException
checkConstraints
protected void checkConstraints(RowEvent event,
boolean deferred,
RowDecorator dec)
throws AxionException
- Throws:
AxionException
checkConstraints
protected void checkConstraints(RowIterator oldRows,
RowIterator newRows)
throws AxionException
- Throws:
AxionException
hasDeferredConstraint
protected boolean hasDeferredConstraint()
isDeferAll
protected boolean isDeferAll()