Package | Description |
---|---|
org.axiondb |
Core interfaces, identifiers, and exceptions.
|
org.axiondb.constraints |
Constraint implementations. |
org.axiondb.engine |
Core database machinery.
|
org.axiondb.engine.commands |
AxionCommand implementations. |
org.axiondb.engine.indexes | |
org.axiondb.engine.metaupdaters | |
org.axiondb.engine.rowcollection | |
org.axiondb.engine.rowiterators |
RowIterator implementations. |
org.axiondb.engine.tables | |
org.axiondb.engine.visitors | |
org.axiondb.event |
Event model with listeners for database actions
|
Modifier and Type | Interface and Description |
---|---|
interface |
ExternalTable
Extends Table interface to accept configuration parameters associated with connecting a
table to an external resource, such as a flatfile or external JDBC-compatible database.
|
interface |
TransactableTable
A
Transactable version of a Table . |
Modifier and Type | Method and Description |
---|---|
Table |
ExternalTableLoader.createTable(Database database,
java.lang.String name) |
Table |
TableFactory.createTable(Database database,
java.lang.String name) |
Table |
Database.getTable(java.lang.String name)
Get the specified
Table , or null if no such table can be found. |
Table |
Database.getTable(TableIdentifier table)
Get the specified
Table , or null if no such table can be found. |
Modifier and Type | Method and Description |
---|---|
void |
Database.addIndex(Index index,
Table table)
Add the given
Index to this database, associated with the given table. |
void |
Database.addIndex(Index index,
Table table,
boolean doPopulate)
Add the given
Index to this database, associating it with the given table
and (optionally) populating it. |
void |
Database.addTable(Table table)
Add the given
Table to this database. |
void |
Index.changeRowId(Table table,
Row row,
int oldId,
int newId) |
boolean |
Constraint.evaluate(RowIterator oldRows,
RowIterator newRows,
Table table) |
Index |
IndexLoader.loadIndex(Table table,
java.io.File dataDirectory) |
Index |
IndexFactory.makeNewSystemInstance(Table table,
Column col,
boolean memorydb)
Creates a new system index, with a unique internally-generated name, on the given
column with the given state of uniqueness.
|
void |
Database.tableAltered(Table t)
Update metadata tables since this table has changed.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
BaseSelectableBasedConstraint.evaluate(RowIterator oldRows,
RowIterator newRows,
Table table) |
boolean |
NotNullConstraint.evaluate(RowIterator oldRows,
RowIterator newRows,
Table table) |
boolean |
ForeignKeyConstraint.evaluate(RowIterator oldRows,
RowIterator newRows,
Table table) |
boolean |
PrimaryKeyConstraint.evaluate(RowIterator oldRows,
RowIterator newRows,
Table table) |
boolean |
CheckConstraint.evaluate(RowIterator oldRows,
RowIterator newRows,
Table table) |
boolean |
NullConstraint.evaluate(RowIterator oldRows,
RowIterator newRows,
Table table) |
boolean |
UniqueConstraint.evaluate(RowIterator oldRows,
RowIterator newRows,
Table table) |
protected static boolean |
NotNullConstraint.noneNull(RowIterator newRows,
Table table,
java.util.Iterator selectables) |
void |
ForeignKeyConstraint.setChildTable(Table table) |
void |
ForeignKeyConstraint.setParentTable(Table table) |
Modifier and Type | Class and Description |
---|---|
class |
TransactableTableImpl
An implemenation of
TransactableTable . |
Modifier and Type | Method and Description |
---|---|
protected Table |
MemoryDatabase.createSystemTable(java.lang.String name) |
protected abstract Table |
BaseDatabase.createSystemTable(java.lang.String name) |
protected Table |
DiskDatabase.createSystemTable(java.lang.String name) |
Table |
MemoryTableFactory.createTable(Database database,
java.lang.String name) |
Table |
DiskTableFactory.createTable(Database database,
java.lang.String name) |
Table |
TransactableTableImpl.getTable() |
Table |
BaseDatabase.getTable(java.lang.String name) |
Table |
SnapshotIsolationTransaction.getTable(java.lang.String name) |
Table |
BaseDatabase.getTable(TableIdentifier table) |
Table |
SnapshotIsolationTransaction.getTable(TableIdentifier table) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Iterator<Table> |
BaseDatabase.getTables() |
Modifier and Type | Method and Description |
---|---|
void |
BaseDatabase.addIndex(Index index,
Table table) |
void |
SnapshotIsolationTransaction.addIndex(Index index,
Table table) |
void |
BaseDatabase.addIndex(Index index,
Table table,
boolean doPopulate) |
void |
SnapshotIsolationTransaction.addIndex(Index index,
Table table,
boolean doPopulate) |
void |
BaseDatabase.addTable(Table t) |
void |
SnapshotIsolationTransaction.addTable(Table table) |
Index |
StringBTreeIndexLoader.loadIndex(Table table,
java.io.File dataDirectory) |
void |
BaseDatabase.tableAltered(Table t) |
void |
SnapshotIsolationTransaction.tableAltered(Table table) |
Constructor and Description |
---|
TransactableTableImpl(Table table) |
Modifier and Type | Method and Description |
---|---|
Table |
SubSelectCommand.getTableView(Database db,
java.lang.String name)
Return TableView a table wrapper to hold sub-query RowIterator.
|
Table |
SubSelectCommand.getTableView(Database db,
java.lang.String name,
boolean addToDb)
Return TableView a table wrapper to hold sub-query RowIterator.
|
protected Table |
InsertIntoClause.getTargetTable() |
Modifier and Type | Method and Description |
---|---|
protected void |
InsertIntoClause.assertRules(Table source) |
protected void |
TruncateCommand.checkConstraint(Database db,
Table table) |
protected void |
ChildTableUpdater.deleteOrSetNullChildRows(Database db,
Table parentTable,
RowDecorator dec) |
protected void |
ChildTableUpdater.deleteOrSetNullChildRows(Database db,
Table parentTable,
RowDecorator dec,
ForeignKeyConstraint fk) |
protected void |
DropConstraintCommand.execute(Database db,
Table table) |
protected abstract void |
ConstraintCommand.execute(Database db,
Table table) |
protected void |
AddConstraintCommand.execute(Database db,
Table table) |
static Function |
AxionQueryOptimizer.findColumnLiteralEqualFunction(TableIdentifier tid,
Table table,
java.util.Set conditions,
boolean mustCheckForIndex) |
static Function |
AxionQueryOptimizer.findColumnLiteralFunction(TableIdentifier tid,
Table table,
java.util.Set conditions,
boolean mustCheckForIndex)
Find column-literal comparision function for a given table.
|
static ComparisonFunction |
AxionQueryOptimizer.findFirstColumnColumnComparisonFunction(java.util.Set columnColumnConditions,
TableIdentifier tid,
Table table,
boolean mustCheckForIndex) |
static EqualFunction |
AxionQueryOptimizer.findFirstEqualFunction(java.util.Set columnColumnConditions,
TableIdentifier tid,
Table table,
boolean mustCheckForIndex) |
protected java.util.List |
BaseAxionCommand.getColIdentifierList(Table table,
TableIdentifier tid) |
protected RowIterator |
BaseAxionCommand.getRowIterator(Database db,
TableIdentifier tid,
Table table,
Selectable whereNode,
boolean readOnly,
RowDecorator dec) |
static Function |
AxionQueryOptimizer.isColumnIndexed(TableIdentifier tid,
Table table,
Selectable condition,
boolean mustCheckForIndex) |
protected RowDecorator |
BaseAxionCommand.makeRowDecorator(Table table) |
protected void |
BaseAxionCommand.populateDefaultValues(Database db,
Table table,
TableIdentifier tableId,
RowDecorator dec) |
protected boolean |
BaseAxionCommand.populateSequenceColumns(Database db,
Table table,
Row row) |
protected void |
BaseAxionCommand.resolveGeneratedColumns(Table table,
TableIdentifier tableId,
java.util.List cols) |
protected void |
BaseAxionCommand.resolveGeneratedColumns(Table table,
TableIdentifier tableId,
java.util.List cols,
boolean useDefaultValues) |
protected void |
BaseAxionCommand.setDeferAllConstraintIfRequired(Table table) |
void |
CreateTableCommand.setSourceTable(Table table) |
protected void |
BaseAxionCommand.updateGeneratedValues(Database db,
Table table,
TableIdentifier tableId,
Row row) |
protected void |
ChildTableUpdater.updateOrSetNullChildRows(Database db,
Table parentTable,
Row parentOldRow,
Row parentNewRow) |
protected void |
ChildTableUpdater.updateOrSetNullChildRows(Database db,
Table parentTable,
Row parentOldRow,
Row parentNewRow,
ForeignKeyConstraint fk) |
Modifier and Type | Method and Description |
---|---|
void |
IntBTreeIndex.changeRowId(Table table,
Row row,
int oldId,
int newId) |
void |
BaseArrayIndex.changeRowId(Table table,
Row row,
int oldId,
int newId) |
void |
ObjectBTreeIndex.changeRowId(Table table,
Row row,
int oldId,
int newId) |
Index |
BaseBTreeIndexLoader.loadIndex(Table table,
java.io.File dataDirectory) |
Index |
BaseArrayIndexLoader.loadIndex(Table table,
java.io.File dataDirectory) |
Index |
BaseIndexFactory.makeNewSystemInstance(Table table,
Column col,
boolean memorydb)
Creates a new system instance with an autogenerated index name that combines the
table name, column name, and current UNIX time (expressed in hexadecimal).
|
Modifier and Type | Method and Description |
---|---|
Row |
AxionTablesMetaTableUpdater.createRowForAddedTable(Table table) |
protected Row |
AxionColumnsMetaTableUpdater.createRowForColumnAdded(Table t,
Column col) |
Modifier and Type | Method and Description |
---|---|
Row |
IntRowMap.addRow(Table table,
Row row) |
Row |
IntRowMap.deleteRow(Table table,
Row deleted) |
RowIterator |
IntRowMap.getIndexedRows(Table source,
Selectable node,
boolean readOnly) |
void |
IntRowMap.populateIndex(Table table,
Index index) |
Row |
IntRowMap.updateRow(Table table,
Row oldrow,
Row newrow) |
Constructor and Description |
---|
ChangingIndexedRowIterator(Index index,
Table table,
Function fn) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBaseTable
An abstract implementation of
Table , code common between TransactableTableImpl
and BaseTable |
class |
BaseDiskTable
Abstract base disk-resident implementation of
Table . |
class |
BaseFlatfileTable
Base Flatfile Table
TODO: Support for decimal and thousand separator, trailing/leading minus sign TODO: Support for multiple record delimiter |
class |
BaseTable
An abstract base implementation of
Table . |
class |
DelimitedFlatfileTable
A disk-resident Delimited Flatfile
Table .TODO: Support for multiple delimiter for field and record TODO: Support for treating consecutive delimiter as one |
class |
DiskTable
A disk-resident
Table . |
class |
ExternalAxionDBTable
Axion external table implementation of ExternalTable interface.
|
class |
ExternalDatabaseTable
Base implementation of ExternalTable interface.
|
class |
FixedWidthFlatfileTable
A disk-resident Fixed Width Flatfile
Table . |
class |
MemoryTable
A memory-resident
Table . |
class |
TableView
A sub-query view
Table . |
class |
TaggedEBCDICTable
A disk-resident Fixed Width Flatfile
Table . |
Modifier and Type | Method and Description |
---|---|
Table |
TaggedEBCDICTableLoader.createTable(Database database,
java.lang.String name) |
Table |
ExternalDatabaseTableLoader.createTable(Database database,
java.lang.String name) |
Table |
FixedWidthFlatfileTableLoader.createTable(Database database,
java.lang.String name) |
Table |
TableViewFactory.createTable(Database database,
java.lang.String name) |
Table |
ExternalAxionDBTableLoader.createTable(Database database,
java.lang.String name) |
Table |
ExternalTableFactory.createTable(Database database,
java.lang.String name) |
Table |
DelimitedFlatfileTableLoader.createTable(Database database,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
TableColumnsUsedInFunctionVisitor.visit(Function fn,
Table sourceTable) |
Modifier and Type | Method and Description |
---|---|
Table |
DatabaseModifiedEvent.getTable() |
Table |
ConstraintEvent.getTable() |
Table |
TableModifiedEvent.getTable() |
Modifier and Type | Method and Description |
---|---|
void |
TableModifiedEvent.setTable(Table table) |
Constructor and Description |
---|
ColumnEvent(Table table,
Column col) |
ConstraintEvent(Table table,
Constraint constraint) |
DatabaseModifiedEvent(Table t) |
RowDeletedEvent(Table table,
Row oldRow,
Row newRow) |
RowEvent(Table table,
Row oldRow,
Row newRow) |
RowInsertedEvent(Table table,
Row oldRow,
Row newRow) |
RowUpdatedEvent(Table table,
Row oldRow,
Row newRow) |