org.axiondb.engine.tables

Class ExternalAxionDBTable

public class ExternalAxionDBTable extends BaseTableModificationPublisher implements ExternalTable

Axion external table implementation of ExternalTable interface.

Version: $Revision: 1.3 $ $Date: 2005/12/20 18:32:28 $

Author: Ahimanikya Satapathy

See Also: DatabaseLink ExternalDatabaseTable

Constructor Summary
ExternalAxionDBTable(String name, Database db)
Method Summary
voidaddColumn(Column col)
voidaddConstraint(Constraint constraint)
voidaddIndex(Index index)
voidaddRow(Row row)
voidapplyDeletes(IntCollection rowIds)
voidapplyInserts(RowCollection rows)
voidapplyUpdates(RowCollection rows)
voidcheckpoint()
voiddeleteRow(Row row)
voiddrop()
voidfreeRowId(int id)
ColumngetColumn(int index)
ColumngetColumn(String name)
intgetColumnCount()
ListgetColumnIdentifiers()
intgetColumnIndex(String name)
ConstraintgetConstraint(String name)
IteratorgetConstraints()
StringgetDBLinkName()
RowIteratorgetIndexedRows(RowSource source, Selectable node, boolean readOnly)
RowIteratorgetIndexedRows(Selectable node, boolean readOnly)
IndexgetIndexForColumn(Column column)
IteratorgetIndices()
RowIteratorgetMatchingRows(List selectables, List values, boolean readOnly)
StringgetName()
intgetNextRowId()
RowgetRow(int id)
intgetRowCount()
RowIteratorgetRowIterator(boolean readOnly)
SequencegetSequence()
PropertiesgetTableProperties()
StringgetType()
booleanhasColumn(ColumnIdentifier id)
booleanhasIndex(String name)
booleanisColumnIndexed(Column column)
booleanisPrimaryKeyConstraintExists(String columnName)
booleanisUniqueConstraintExists(String columnName)
booleanloadExternalTable(Properties props)
RowDecoratormakeRowDecorator()
TransactableTablemakeTransactableTable()
voidmigrate()
voidpopulateIndex(Index index)
voidremount()
voidremount(File dir, boolean datafilesonly)
ConstraintremoveConstraint(String name)
voidremoveIndex(Index index)
voidrename(String oldName, String newName)
voidsetSequence(Sequence seq)
voidshutdown()
StringtoString()
voidtruncate()
voidupdateRow(Row oldrow, Row newrow)

Constructor Detail

ExternalAxionDBTable

public ExternalAxionDBTable(String name, Database db)

Method Detail

addColumn

public void addColumn(Column col)

addConstraint

public void addConstraint(Constraint constraint)

addIndex

public void addIndex(Index index)

addRow

public void addRow(Row row)

applyDeletes

public void applyDeletes(IntCollection rowIds)

applyInserts

public void applyInserts(RowCollection rows)

applyUpdates

public void applyUpdates(RowCollection rows)

checkpoint

public void checkpoint()

deleteRow

public void deleteRow(Row row)

drop

public void drop()

freeRowId

public void freeRowId(int id)

getColumn

public Column getColumn(int index)

getColumn

public Column getColumn(String name)

getColumnCount

public int getColumnCount()

getColumnIdentifiers

public List getColumnIdentifiers()

getColumnIndex

public int getColumnIndex(String name)

getConstraint

public Constraint getConstraint(String name)

getConstraints

public Iterator getConstraints()

getDBLinkName

public String getDBLinkName()

getIndexedRows

public RowIterator getIndexedRows(RowSource source, Selectable node, boolean readOnly)

getIndexedRows

public RowIterator getIndexedRows(Selectable node, boolean readOnly)

getIndexForColumn

public Index getIndexForColumn(Column column)

getIndices

public Iterator getIndices()

getMatchingRows

public RowIterator getMatchingRows(List selectables, List values, boolean readOnly)

getName

public String getName()

getNextRowId

public int getNextRowId()

getRow

public Row getRow(int id)

getRowCount

public int getRowCount()

getRowIterator

public RowIterator getRowIterator(boolean readOnly)

getSequence

public Sequence getSequence()

getTableProperties

public Properties getTableProperties()

getType

public String getType()

hasColumn

public boolean hasColumn(ColumnIdentifier id)

hasIndex

public boolean hasIndex(String name)

isColumnIndexed

public boolean isColumnIndexed(Column column)

isPrimaryKeyConstraintExists

public boolean isPrimaryKeyConstraintExists(String columnName)

isUniqueConstraintExists

public boolean isUniqueConstraintExists(String columnName)

loadExternalTable

public boolean loadExternalTable(Properties props)

makeRowDecorator

public RowDecorator makeRowDecorator()

makeTransactableTable

public TransactableTable makeTransactableTable()

migrate

public void migrate()

populateIndex

public void populateIndex(Index index)

remount

public void remount()

remount

public void remount(File dir, boolean datafilesonly)

removeConstraint

public Constraint removeConstraint(String name)

removeIndex

public void removeIndex(Index index)

rename

public void rename(String oldName, String newName)

setSequence

public void setSequence(Sequence seq)

shutdown

public void shutdown()

toString

public String toString()

truncate

public void truncate()

updateRow

public void updateRow(Row oldrow, Row newrow)