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
|
org.axiondb.functions |
Function implementations. |
org.axiondb.io | |
org.axiondb.jdbc |
JDBC implementations.
|
org.axiondb.parser |
SQL parser interface and implementation classes.
|
org.axiondb.types |
DataType implementations. |
org.axiondb.util |
Utility classes.
|
Modifier and Type | Class and Description |
---|---|
class |
ConstraintViolationException
Thrown when a
Constraint has been violated. |
class |
TransactionConflictException
Thrown when a transaction conflict is discovered.
|
Modifier and Type | Method and Description |
---|---|
void |
TransactionManager.abortTransaction(Transaction t)
Abort the given
Transaction . |
void |
RowIterator.add(Row row)
Add a
Row at the current position in my underlying collection, or throw
UnsupportedOperationException . |
boolean |
RowCollection.add(Row row)
Ensures that this row collection contains the specified row.
|
void |
Table.addColumn(Column col)
Add the given
Column to this table. |
void |
Table.addConstraint(Constraint constraint) |
void |
Table.addIndex(Index index)
Add an index, associating it with a
Column , and adding it as a
org.axiondb.TableModificationListener to the table. |
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 |
Table.addRow(Row row)
Insert the given
Row . |
void |
JoinedRowIterator.addRowIterator(RowIterator iterator) |
void |
Database.addTable(Table table)
Add the given
Table to this database. |
void |
Transactable.apply()
Apply this
committed transaction.. |
void |
Table.applyDeletes(org.apache.commons.collections.primitives.IntCollection rowids)
Remove the specified rows from this table and any associated indices.
|
void |
Table.applyInserts(RowCollection rows)
Insert the given rows into this table and any associated indices.
|
void |
Table.applyUpdates(RowCollection rows)
Update the given rows in this table and any associated indices.
|
void |
TableOrganizationContext.assertValidPropertyKeys(java.util.Properties props)
Asserts that all property keys referenced in the given Properties instance are
valid for the specific external table type.
|
void |
AxionCommand.bindAll(java.lang.Object[] values)
Sets the values of the all bind variable within this command.
|
void |
Index.changeRowId(Table table,
Row row,
int oldId,
int newId) |
void |
Table.checkpoint() |
void |
Database.checkpoint()
Make sure any modified state or data has been written to disk.
|
void |
RowCollection.clear()
Removes all of the rows from this row collection.
|
void |
AxionCommand.clearBindings()
Clears all bind variables within this command.
|
void |
Transactable.commit()
This transaction has been committed.
|
void |
TransactionManager.commitTransaction(Transaction t)
Commit the given
Transaction . |
boolean |
RowCollection.contains(Row row)
Returns true if this row collection contains the specified row.
|
java.lang.Object |
DataType.convert(java.lang.Object value)
Converts an
acceptable value to one of the appropriate type. |
void |
Database.createDatabaseLink(DatabaseLink dblink) |
ExternalTable |
ExternalTableLoader.createExternalTable(Database database,
java.lang.String name) |
void |
Database.createSequence(Sequence seq)
Create a numeric sequence
|
Table |
ExternalTableLoader.createTable(Database database,
java.lang.String name) |
Table |
TableFactory.createTable(Database database,
java.lang.String name) |
Transaction |
TransactionManager.createTransaction()
Create a new
Transaction . |
void |
Table.deleteRow(Row row)
Delete the given
Row . |
void |
Table.drop()
Drop this table from the database.
|
void |
Database.dropDatabaseLink(java.lang.String name) |
void |
Database.dropDependentExternalDBTable(java.util.List tables) |
void |
Database.dropDependentViews(java.util.List views) |
void |
Database.dropIndex(java.lang.String name)
Drop the given
Index from this database. |
void |
Database.dropSequence(java.lang.String name)
Drop the specified
Sequence from this database. |
void |
Database.dropTable(java.lang.String name)
Drop the specified
Table from this database. |
java.lang.Object |
Sequence.evaluate()
Increment and return the next value in this sequence.
|
java.lang.Object |
BindVariable.evaluate() |
java.lang.Object |
Literal.evaluate() |
java.lang.Object |
ColumnIdentifier.evaluate(RowDecorator row)
Returns the value of the column I identify within the given row .
|
java.lang.Object |
SequenceEvaluator.evaluate(RowDecorator row) |
java.lang.Object |
Selectable.evaluate(RowDecorator row) |
java.lang.Object |
Literal.evaluate(RowDecorator row) |
boolean |
Constraint.evaluate(RowEvent event)
Evaluate the given event under me.
|
boolean |
Constraint.evaluate(RowEvent event,
RowDecorator dec)
Evaluate the given event under me.
|
boolean |
Constraint.evaluate(RowIterator oldRows,
RowIterator newRows,
Table table) |
boolean |
AxionCommand.execute(Database db)
Executes an SQL statement that may return multiple results.
|
AxionResultSet |
AxionCommand.executeQuery(Database db)
Executes an SQL statement that returns a single read-only
ResultSet object such as a SELECT statement. |
AxionResultSet |
AxionCommand.executeQuery(Database db,
boolean isReadOnly)
Execute an SQL statement that returns a single
ResultSet object
with the given read-only state. |
int |
AxionCommand.executeUpdate(Database db)
Executes an SQL that may add, delete or modify zero or more rows within the
database, such as an INSERT, UPDATE or DELETE statement.
|
Row |
RowIterator.first()
|
RowDecorator |
RowDecoratorIterator.first() |
java.lang.Object |
RowDecorator.get(ColumnIdentifier colid)
Returns the value of the specified column.
|
int |
Table.getColumnIndex(java.lang.String name)
Return the zero-based index of the
Column with the given name . |
int |
RowSource.getColumnIndex(java.lang.String name) |
java.sql.Connection |
DatabaseLink.getConnection() |
java.sql.Connection |
ExternalConnectionProvider.getConnection(java.util.Properties spec) |
java.lang.Object |
Sequence.getCuurentValue() |
RowIterator |
Table.getIndexedRows(RowSource source,
Selectable where,
boolean readOnly) |
RowIterator |
Table.getIndexedRows(Selectable where,
boolean readOnly) |
RowIterator |
Index.getInorderRowIterator(RowSource source)
Returns a
RowIterator which is inorder traversal of keys, |
RowIterator |
Table.getMatchingRows(java.util.List selectables,
java.util.List values,
boolean readOnly)
Obtain an
iterator over my Row s where each
Selectable in the selectable list
evaluates to the corresponding value in the value
list . |
Row |
RowSource.getRow(int id) |
int |
RowDecorator.getRowIndex() |
RowIterator |
Table.getRowIterator(boolean readOnly)
|
RowIterator |
Index.getRowIterator(RowSource source,
Function fn,
java.lang.Object value)
Returns a
RowIterator over the indexed rows, limited by the given
ComparisonOperator /value pair, using the default sort order. |
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. |
java.lang.Object |
Sequence.getValue()
Get the current value of this sequence.
|
boolean |
Database.hasDatabaseLink(java.lang.String name) |
boolean |
Table.hasIndex(java.lang.String name) |
boolean |
Database.hasIndex(java.lang.String name)
Returns
true iff the given Index exists. |
boolean |
Database.hasSequence(java.lang.String name) |
boolean |
Database.hasTable(java.lang.String name) |
boolean |
Database.hasTable(TableIdentifier table) |
Row |
RowIterator.last()
|
RowDecorator |
RowDecoratorIterator.last() |
boolean |
ExternalTable.loadExternalTable(java.util.Properties prop)
Loads external data using the given properties table - should be called only once by
the table factory.
|
Index |
IndexLoader.loadIndex(Table table,
java.io.File dataDirectory) |
Index |
IndexFactory.makeNewInstance(java.lang.String name,
Column col,
boolean unique,
boolean memorydb) |
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 |
Table.migrate()
Migrate from older version to newer version for this table
|
void |
Database.migrate(int version)
Migrate from older version to newer version for this database
|
Row |
RowIterator.next()
|
RowDecorator |
RowDecoratorIterator.next() |
int |
RowIterator.next(int count)
Sets the current iterator position to currentIndex() + count; this will not set the
current row, peekPrevious() may be used to return the current row.
|
Row |
RowIterator.peekNext()
Return the value that would be returned by a call to
RowIterator.next() , if any, but
don't update my position. |
Row |
RowIterator.peekPrevious()
Return the value that would be returned by a call to
RowIterator.previous() , if any,
but don't update my position. |
void |
Table.populateIndex(Index index)
Populate an
Index , adding my current rows to it. |
Row |
RowIterator.previous()
|
RowDecorator |
RowDecoratorIterator.previous() |
int |
RowIterator.previous(int count)
Sets the current iterator position to currentIndex() - count; this will not set the
current row, peekNext() may be used to return the current row.
|
void |
TableOrganizationContext.readOrSetDefaultProperties(java.util.Properties props) |
void |
ExternalTable.remount() |
void |
Database.remount(java.io.File newdir)
Notify this database that its root directory has been moved to the given location.
|
void |
Table.remount(java.io.File dir,
boolean dataOnly)
Notify this table that its disk-location has moved.
|
void |
RowIterator.remove()
Set the
Row at the current position in my underlying collection, or throw
UnsupportedOperationException . |
boolean |
RowCollection.remove(Row row)
Removes a single instance of the specified row from this row collection, if it is
present.
|
void |
Table.removeIndex(Index index)
Remove an index, both from the indices and as a TableModificationListener
|
void |
Table.rename(java.lang.String oldName,
java.lang.String newName) |
void |
Database.renameTable(java.lang.String oldName,
java.lang.String newName) |
void |
RowIterator.reset()
Re-initialize this
RowIterator to its initial state (positioned just
before the first Row in the list). |
void |
RowDecoratorIterator.reset() |
void |
Constraint.resolve(Database db,
TableIdentifier table)
Resolve any unresolved
org.axiondb.Selectableidentifiers I may have. |
void |
Transactable.rollback()
This transaction has been aborted.
|
RowIterator |
RowCollection.rowIterator()
Returns an iterator over the rows in this row collection.
|
void |
Index.save(java.io.File dataDirectory) |
void |
Index.saveAfterTruncate(java.io.File dataDirectory) |
void |
IndexLoader.saveIndex(Index index,
java.io.File dataDirectory) |
void |
IndexLoader.saveIndexAfterTruncate(Index index,
java.io.File dataDirectory) |
void |
RowIterator.set(Row row)
Set the
Row at the current position in my underlying collection, or throw
UnsupportedOperationException . |
void |
Constraint.setDeferred(boolean deferred)
Set whether or not I am deferred.
|
void |
Table.setSequence(Sequence seq) |
void |
TransactionManager.shutdown()
Shut down this
TransactionManager . |
void |
Table.shutdown()
The database is shutting down, shutdown this table also.
|
void |
Database.shutdown()
Close this database and free any resources associated with it.
|
int |
RowIterator.size()
Retunrs the current size of the underlaying row collection
|
int |
RowDecoratorIterator.size() |
void |
Database.tableAltered(Table t)
Update metadata tables since this table has changed.
|
java.math.BigDecimal |
DataType.toBigDecimal(java.lang.Object value)
|
java.math.BigInteger |
DataType.toBigInteger(java.lang.Object value)
|
java.sql.Blob |
DataType.toBlob(java.lang.Object value)
|
boolean |
DataType.toBoolean(java.lang.Object value)
Convert the given non-
null value to a boolean ,
or throw a SQLException . |
byte |
DataType.toByte(java.lang.Object value)
Convert the given non-
null value to a byte ,
or throw a SQLException . |
byte[] |
DataType.toByteArray(java.lang.Object value)
|
java.sql.Clob |
DataType.toClob(java.lang.Object value)
|
java.sql.Date |
DataType.toDate(java.lang.Object value)
Convert the given non-
null value to a Date ,
or throw a SQLException . |
double |
DataType.toDouble(java.lang.Object value)
|
float |
DataType.toFloat(java.lang.Object value)
|
int |
DataType.toInt(java.lang.Object value)
|
long |
DataType.toLong(java.lang.Object value)
|
short |
DataType.toShort(java.lang.Object value)
|
java.lang.String |
DataType.toString(java.lang.Object value)
|
java.sql.Time |
DataType.toTime(java.lang.Object value)
|
java.sql.Timestamp |
DataType.toTimestamp(java.lang.Object value)
|
java.net.URL |
DataType.toURL(java.lang.Object value)
|
void |
Table.truncate()
Unconditionally delete all rows in this table.
|
void |
Index.truncate() |
void |
Table.updateRow(Row oldrow,
Row newrow)
Update the given
Row . |
Constructor and Description |
---|
AxionRuntimeException(AxionException axionEx) |
Constructor and Description |
---|
SequenceEvaluator(Sequence seq,
java.lang.String method) |
Modifier and Type | Method and Description |
---|---|
boolean |
ForeignKeyConstraint.evaluate(RowEvent event) |
abstract boolean |
BaseSelectableBasedConstraint.evaluate(RowEvent event) |
boolean |
PrimaryKeyConstraint.evaluate(RowEvent event) |
boolean |
NotNullConstraint.evaluate(RowEvent event) |
boolean |
CheckConstraint.evaluate(RowEvent event) |
boolean |
UniqueConstraint.evaluate(RowEvent event) |
abstract boolean |
BaseConstraint.evaluate(RowEvent event) |
boolean |
NullConstraint.evaluate(RowEvent event)
Returns
true . |
boolean |
ForeignKeyConstraint.evaluate(RowEvent event,
RowDecorator dec) |
abstract boolean |
BaseSelectableBasedConstraint.evaluate(RowEvent event,
RowDecorator dec) |
boolean |
PrimaryKeyConstraint.evaluate(RowEvent event,
RowDecorator dec) |
boolean |
NotNullConstraint.evaluate(RowEvent event,
RowDecorator dec) |
boolean |
CheckConstraint.evaluate(RowEvent event,
RowDecorator dec) |
boolean |
UniqueConstraint.evaluate(RowEvent event,
RowDecorator dec) |
boolean |
NullConstraint.evaluate(RowEvent event,
RowDecorator dec) |
boolean |
UniqueConstraint.evaluate(RowEvent event,
RowDecorator dec,
boolean wasDeferred) |
boolean |
ForeignKeyConstraint.evaluate(RowIterator oldRows,
RowIterator newRows,
Table table) |
abstract boolean |
BaseSelectableBasedConstraint.evaluate(RowIterator oldRows,
RowIterator newRows,
Table table) |
boolean |
PrimaryKeyConstraint.evaluate(RowIterator oldRows,
RowIterator newRows,
Table table) |
boolean |
NotNullConstraint.evaluate(RowIterator oldRows,
RowIterator newRows,
Table table) |
boolean |
CheckConstraint.evaluate(RowIterator oldRows,
RowIterator newRows,
Table table) |
boolean |
UniqueConstraint.evaluate(RowIterator oldRows,
RowIterator newRows,
Table table) |
boolean |
NullConstraint.evaluate(RowIterator oldRows,
RowIterator newRows,
Table table) |
protected static boolean |
NotNullConstraint.noneNull(RowDecorator dec,
Row row,
java.util.Iterator selectables) |
protected static boolean |
NotNullConstraint.noneNull(RowIterator newRows,
Table table,
java.util.Iterator selectables) |
void |
ForeignKeyConstraint.resolve(Database db,
TableIdentifier table) |
void |
BaseSelectableBasedConstraint.resolve(Database db,
TableIdentifier table)
This base implementation
resolves all of the
Selectable s in my list. |
void |
CheckConstraint.resolve(Database db,
TableIdentifier table) |
void |
BaseConstraint.resolve(Database db,
TableIdentifier table)
This base implementation is a no-op.
|
void |
BaseConstraint.setDeferred(boolean deferred) |
Modifier and Type | Method and Description |
---|---|
void |
TransactionManagerImpl.abortTransaction(Transaction t) |
void |
TransactableTableImpl.addColumn(Column col) |
void |
TransactableTableImpl.addConstraint(Constraint constraint) |
void |
TransactableTableImpl.addIndex(Index index) |
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 |
TransactableTableImpl.addRow(Row row) |
void |
BaseDatabase.addTable(Table t) |
void |
SnapshotIsolationTransaction.addTable(Table table) |
void |
SnapshotIsolationTransaction.apply() |
void |
TransactableTableImpl.apply() |
void |
TransactableTableImpl.applyDeletes(org.apache.commons.collections.primitives.IntCollection rowids) |
void |
TransactableTableImpl.applyInserts(RowCollection rows) |
void |
TransactableTableImpl.applyUpdates(RowCollection rows) |
void |
DiskDatabase.checkpoint() |
void |
BaseDatabase.checkpoint() |
void |
SnapshotIsolationTransaction.checkpoint() |
void |
TransactableTableImpl.checkpoint() |
void |
SnapshotIsolationTransaction.columnAdded(ColumnEvent event) |
void |
SnapshotIsolationTransaction.commit() |
void |
TransactableTableImpl.commit() |
TransactableTable |
SnapshotIsolationTransaction.commit(TableIdentifier tid) |
void |
TransactionManagerImpl.commitTransaction(Transaction t) |
void |
SnapshotIsolationTransaction.constraintAdded(ConstraintEvent event) |
void |
SnapshotIsolationTransaction.constraintRemoved(ConstraintEvent event) |
void |
BaseDatabase.createDatabaseLink(DatabaseLink dblink) |
void |
SnapshotIsolationTransaction.createDatabaseLink(DatabaseLink server) |
protected void |
BaseDatabase.createMetaDataTables()
Should get called by subclasses in constructors
|
void |
DiskDatabase.createSequence(Sequence seq) |
void |
BaseDatabase.createSequence(Sequence seq) |
void |
SnapshotIsolationTransaction.createSequence(Sequence seq) |
Table |
DiskTableFactory.createTable(Database database,
java.lang.String name) |
Table |
MemoryTableFactory.createTable(Database database,
java.lang.String name) |
Transaction |
TransactionManagerImpl.createTransaction() |
void |
DiskDatabase.defrag() |
int |
DiskDatabase.defragTable(java.lang.String tableName) |
void |
TransactableTableImpl.deleteRow(Row row) |
void |
TransactableTableImpl.drop() |
void |
BaseDatabase.dropDatabaseLink(java.lang.String name) |
void |
SnapshotIsolationTransaction.dropDatabaseLink(java.lang.String server) |
void |
BaseDatabase.dropDependentExternalDBTable(java.util.List tables) |
void |
SnapshotIsolationTransaction.dropDependentExternalDBTable(java.util.List tables) |
void |
BaseDatabase.dropDependentViews(java.util.List views) |
void |
SnapshotIsolationTransaction.dropDependentViews(java.util.List views) |
void |
BaseDatabase.dropIndex(java.lang.String name) |
void |
SnapshotIsolationTransaction.dropIndex(java.lang.String name) |
void |
BaseDatabase.dropSequence(java.lang.String name) |
void |
SnapshotIsolationTransaction.dropSequence(java.lang.String name) |
void |
BaseDatabase.dropTable(java.lang.String name) |
void |
SnapshotIsolationTransaction.dropTable(java.lang.String name) |
int |
TransactableTableImpl.getColumnIndex(java.lang.String name) |
RowIterator |
TransactableTableImpl.getIndexedRows(RowSource source,
Selectable node,
boolean readOnly) |
RowIterator |
TransactableTableImpl.getIndexedRows(Selectable node,
boolean readOnly) |
static Database |
Databases.getOrCreateDatabase(java.lang.String name,
java.io.File dir) |
Row |
TransactableTableImpl.getRow(int id) |
RowIterator |
TransactableTableImpl.getRowIterator(boolean readOnly) |
Table |
BaseDatabase.getTable(java.lang.String name) |
Table |
SnapshotIsolationTransaction.getTable(java.lang.String name) |
Table |
BaseDatabase.getTable(TableIdentifier table) |
Table |
SnapshotIsolationTransaction.getTable(TableIdentifier table) |
boolean |
BaseDatabase.hasDatabaseLink(java.lang.String name) |
boolean |
SnapshotIsolationTransaction.hasDatabaseLink(java.lang.String name) |
boolean |
BaseDatabase.hasIndex(java.lang.String name) |
boolean |
SnapshotIsolationTransaction.hasIndex(java.lang.String name) |
boolean |
TransactableTableImpl.hasIndex(java.lang.String name) |
boolean |
BaseDatabase.hasSequence(java.lang.String name) |
boolean |
SnapshotIsolationTransaction.hasSequence(java.lang.String name) |
boolean |
BaseDatabase.hasTable(java.lang.String name) |
boolean |
SnapshotIsolationTransaction.hasTable(java.lang.String name) |
boolean |
BaseDatabase.hasTable(TableIdentifier id) |
boolean |
SnapshotIsolationTransaction.hasTable(TableIdentifier table) |
Index |
StringBTreeIndexLoader.loadIndex(Table table,
java.io.File dataDirectory) |
protected void |
BaseDatabase.loadProperties(java.util.Properties props) |
protected Index |
ObjectBTreeIndexLoader.makeIndex(java.lang.String name,
Column col,
boolean unique,
java.io.File dataDirectory) |
protected Index |
IntBTreeIndexLoader.makeIndex(java.lang.String name,
Column col,
boolean unique,
java.io.File dataDirectory) |
Index |
ArrayIndexFactory.makeNewInstance(java.lang.String name,
Column col,
boolean unique,
boolean memorydb) |
Index |
BTreeIndexFactory.makeNewInstance(java.lang.String name,
Column col,
boolean unique,
boolean memorydb) |
void |
DiskDatabase.migrate(int version) |
void |
BaseDatabase.migrate(int version)
Migrate from older version to newer version for this database
|
void |
SnapshotIsolationTransaction.migrate(int version) |
void |
TransactableTableImpl.populateIndex(Index index) |
void |
DiskDatabase.remount(java.io.File newdir) |
void |
BaseDatabase.remount(java.io.File newdir) |
void |
SnapshotIsolationTransaction.remount(java.io.File newdir) |
void |
TransactableTableImpl.remount(java.io.File dir,
boolean dataOnly) |
void |
TransactableTableImpl.removeIndex(Index index) |
void |
TransactableTableImpl.rename(java.lang.String oldName,
java.lang.String newName) |
void |
BaseDatabase.renameTable(java.lang.String oldName,
java.lang.String newName) |
void |
SnapshotIsolationTransaction.renameTable(java.lang.String oldName,
java.lang.String newName) |
void |
SnapshotIsolationTransaction.rollback() |
void |
TransactableTableImpl.rollback() |
void |
SnapshotIsolationTransaction.rowDeleted(RowEvent event) |
void |
SnapshotIsolationTransaction.rowInserted(RowEvent event) |
void |
SnapshotIsolationTransaction.rowUpdated(RowEvent event) |
void |
ObjectBTreeIndexLoader.save(Index ndx,
java.io.File dataDirectory) |
void |
IntBTreeIndexLoader.save(Index ndx,
java.io.File dataDirectory) |
void |
StringBTreeIndexLoader.saveIndex(Index ndx,
java.io.File dataDirectory) |
void |
ObjectBTreeIndexLoader.saveIndexAfterTruncate(Index ndx,
java.io.File dataDirectory) |
void |
IntBTreeIndexLoader.saveIndexAfterTruncate(Index ndx,
java.io.File dataDirectory) |
void |
TransactableTableImpl.setSequence(Sequence seq) |
void |
DiskDatabase.shutdown() |
void |
BaseDatabase.shutdown() |
void |
SnapshotIsolationTransaction.shutdown() |
void |
TransactionManagerImpl.shutdown() |
void |
TransactableTableImpl.shutdown() |
void |
BaseDatabase.tableAltered(Table t) |
void |
SnapshotIsolationTransaction.tableAltered(Table table) |
void |
TransactableTableImpl.truncate() |
void |
TransactableTableImpl.updateRow(Row oldrow,
Row newrow) |
Constructor and Description |
---|
DiskDatabase(java.io.File dbDir) |
DiskDatabase(java.lang.String name,
java.io.File dbDir) |
DiskDatabase(java.lang.String name,
java.io.File dbDir,
java.util.Properties props) |
MemoryDatabase() |
MemoryDatabase(java.lang.String name) |
MemoryDatabase(java.lang.String name,
java.util.Properties props) |
Modifier and Type | Method and Description |
---|---|
protected void |
InsertIntoClause.addRowToTable(Database db,
Row srcRow,
RowDecorator dec) |
protected void |
BaseAxionCommand.assertNotReadOnly(Database db)
Throws an
AxionException if the given Database is read-only. |
protected void |
InsertIntoClause.assertRules(Table source) |
protected java.lang.Object |
BaseAxionCommand.attemptToConvertValue(java.lang.Object val,
DataType type,
ColumnIdentifier colid) |
void |
BaseAxionCommand.bindAll(java.lang.Object[] vals)
Sets the values of all bind variable within this command.
|
protected void |
SelectCommand.buildTableList(Database db) |
protected void |
SubSelectCommand.buildTableList(Database db) |
protected void |
TruncateCommand.checkConstraint(Database db,
Table table) |
void |
BaseAxionCommand.clearBindings()
Clears all bind variables within this command.
|
Sequence |
CreateSequenceCommand.createSequence(Database db) |
protected void |
ChildTableUpdater.deleteOrSetNullChildRows(Database db,
Table parentTable,
RowDecorator dec) |
protected void |
ChildTableUpdater.deleteOrSetNullChildRows(Database db,
Table parentTable,
RowDecorator dec,
ForeignKeyConstraint fk) |
static java.util.Set |
AxionQueryOptimizer.deriveTableFilter(java.util.Set flattenConditions,
boolean isAllInnerJoin)
Decomposes the given
WhereNode into a Set of nodes that were
originally joined by ANDs, and adds to this set predicates that are implied by the
original tree (for example, given A = 1 and A = B, we can
infer B = 1.) |
boolean |
DMLWhenClause.evaluate(RowDecorator dec) |
java.lang.Object |
SubSelectCommand.evaluate(RowDecorator row) |
boolean |
CreateTableCommand.execute(Database db) |
boolean |
SelectCommand.execute(Database database) |
boolean |
ShutdownCommand.execute(Database db) |
boolean |
DropTableCommand.execute(Database db) |
boolean |
CheckFileStateCommand.execute(Database db) |
boolean |
DropSequenceCommand.execute(Database db) |
boolean |
RemountCommand.execute(Database db) |
boolean |
CreateIndexCommand.execute(Database db) |
boolean |
DeleteCommand.execute(Database database) |
boolean |
DropIndexCommand.execute(Database db) |
boolean |
AlterSequenceCommand.execute(Database db) |
boolean |
CreateDatabaseLinkCommand.execute(Database db) |
boolean |
UpdateCommand.execute(Database database) |
boolean |
CreateViewCommand.execute(Database db) |
boolean |
InsertIntoClause.execute(Database db) |
abstract boolean |
DropCommand.execute(Database db) |
boolean |
TruncateCommand.execute(Database db) |
boolean |
UpsertCommand.execute(Database database) |
boolean |
CreateSequenceCommand.execute(Database db) |
abstract boolean |
CreateCommand.execute(Database db) |
boolean |
DropDatabaseLinkCommand.execute(Database db) |
boolean |
DefragCommand.execute(Database db) |
boolean |
DropViewCommand.execute(Database db) |
boolean |
ConstraintCommand.execute(Database db) |
boolean |
SubSelectCommand.execute(Database database) |
boolean |
AlterTableCommand.execute(Database db) |
boolean |
InsertCommand.execute(Database database) |
protected void |
AddConstraintCommand.execute(Database db,
Table table) |
protected abstract void |
ConstraintCommand.execute(Database db,
Table table) |
protected void |
DropConstraintCommand.execute(Database db,
Table table) |
AxionResultSet |
SelectCommand.executeQuery(Database db)
Execute this command, returning a
ResultSet . |
AxionResultSet |
ShutdownCommand.executeQuery(Database database)
Unsupported
|
AxionResultSet |
CheckFileStateCommand.executeQuery(Database db) |
AxionResultSet |
RemountCommand.executeQuery(Database database)
Unsupported
|
AxionResultSet |
DeleteCommand.executeQuery(Database database)
Unsupported
|
AxionResultSet |
UpdateCommand.executeQuery(Database database)
Unsupported, use
UpdateCommand.executeUpdate(org.axiondb.Database) instead. |
AxionResultSet |
InsertIntoClause.executeQuery(Database db) |
AxionResultSet |
DropCommand.executeQuery(Database database)
Unsupported
|
AxionResultSet |
TruncateCommand.executeQuery(Database database)
Unsupported
|
AxionResultSet |
UpsertCommand.executeQuery(Database database)
Unsupported, use
UpsertCommand.executeUpdate(org.axiondb.Database) instead. |
AxionResultSet |
CreateCommand.executeQuery(Database database)
Unsupported
|
AxionResultSet |
DefragCommand.executeQuery(Database database)
Unsupported
|
AxionResultSet |
ConstraintCommand.executeQuery(Database database)
Unsupported
|
AxionResultSet |
SubSelectCommand.executeQuery(Database db) |
AxionResultSet |
AlterTableCommand.executeQuery(Database database)
Unsupported
|
AxionResultSet |
InsertCommand.executeQuery(Database database)
Unsupported, use
InsertCommand.executeUpdate(org.axiondb.Database) instead. |
AxionResultSet |
SelectCommand.executeQuery(Database db,
boolean isReadOnly) |
AxionResultSet |
BaseAxionCommand.executeQuery(Database db,
boolean isReadOnly) |
int |
SelectCommand.executeUpdate(Database database)
Unsupported
|
int |
ShutdownCommand.executeUpdate(Database database) |
int |
CheckFileStateCommand.executeUpdate(Database database) |
int |
RemountCommand.executeUpdate(Database database) |
int |
DeleteCommand.executeUpdate(Database db) |
int |
UpdateCommand.executeUpdate(Database db) |
int |
InsertIntoClause.executeUpdate(Database db) |
int |
DropCommand.executeUpdate(Database database) |
int |
TruncateCommand.executeUpdate(Database db) |
int |
UpsertCommand.executeUpdate(Database db) |
int |
CreateCommand.executeUpdate(Database database) |
int |
DefragCommand.executeUpdate(Database db) |
int |
ConstraintCommand.executeUpdate(Database database) |
int |
SubSelectCommand.executeUpdate(Database database) |
int |
AlterTableCommand.executeUpdate(Database db) |
int |
InsertCommand.executeUpdate(Database db) |
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) |
RowIterator |
SubSelectCommand.getRowIterator(Database db)
Return RowIterator that can used for other commands for sub-query.
|
RowIterator |
SubSelectCommand.getRowIterator(Database db,
RowDecorator rowDec) |
protected RowIterator |
BaseAxionCommand.getRowIterator(Database db,
TableIdentifier tid,
Table table,
Selectable whereNode,
boolean readOnly,
RowDecorator dec) |
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.
|
boolean |
InsertIntoClause.insertMatchingRow(Database db,
RowDecorator dec,
Row srcRow) |
protected boolean |
InsertIntoClause.isTargetTablePartOfSubQuery() |
RowIterator |
AxionQueryPlanner.makeRowIterator(Database db,
boolean readOnly)
Makes appropriate
RowIterator for the current query/subquery. |
RowIterator |
SelectCommand.makeRowIterator(Database db,
boolean isReadOnly) |
RowIterator |
SubSelectCommand.makeRowIterator(Database db,
boolean readOnly) |
RowIterator |
SelectCommand.makeRowIterator(Database db,
boolean isReadOnly,
boolean refresh) |
protected void |
BaseAxionCommand.populateDefaultValues(Database db,
Table table,
TableIdentifier tableId,
RowDecorator dec) |
protected boolean |
BaseAxionCommand.populateSequenceColumns(Database db,
Table table,
Row row) |
void |
InsertIntoClause.preProcess(Database db) |
protected void |
SelectCommand.resolve(Database db) |
protected void |
DeleteCommand.resolve(Database db) |
protected void |
UpdateCommand.resolve(Database db) |
protected void |
InsertIntoClause.resolve(Database db) |
protected void |
UpsertCommand.resolve(Database db) |
protected void |
InsertCommand.resolve(Database db) |
void |
DMLWhenClause.resolve(Database db,
TableIdentifier[] tables) |
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 Selectable |
BaseAxionCommand.resolveSelectable(Selectable sel,
Database db,
java.util.List selected,
TableIdentifier[] tables) |
protected Selectable |
BaseAxionCommand.resolveSelectable(Selectable sel,
Database db,
TableIdentifier[] tables) |
protected void |
BaseAxionCommand.resolveSelectableList(java.util.List list,
Database db,
TableIdentifier table) |
protected void |
BaseAxionCommand.resolveSelectableList(java.util.List list,
Database db,
TableIdentifier[] tables) |
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 |
ObjectBTreeIndex.changeRowId(Table table,
Row row,
int oldId,
int newId) |
void |
BaseArrayIndex.changeRowId(Table table,
Row row,
int oldId,
int newId) |
RowIterator |
IntBTreeIndex.getInorderRowIterator(RowSource source) |
abstract RowIterator |
BaseIndex.getInorderRowIterator(RowSource source) |
RowIterator |
ObjectBTreeIndex.getInorderRowIterator(RowSource source) |
RowIterator |
BaseArrayIndex.getInorderRowIterator(RowSource source) |
RowIterator |
IntBTreeIndex.getRowIterator(RowSource source,
Function function,
java.lang.Object value) |
abstract RowIterator |
BaseIndex.getRowIterator(RowSource source,
Function fn,
java.lang.Object value) |
RowIterator |
ObjectBTreeIndex.getRowIterator(RowSource source,
Function function,
java.lang.Object value) |
RowIterator |
BaseArrayIndex.getRowIterator(RowSource source,
Function fn,
java.lang.Object value) |
protected int |
IntArrayIndex.insertKey(int seeking) |
protected int |
IntArrayIndex.insertKey(java.lang.Object value) |
protected abstract int |
BaseArrayIndex.insertKey(java.lang.Object value) |
protected int |
ObjectArrayIndex.insertKey(java.lang.Object seeking) |
Index |
BaseArrayIndexLoader.loadIndex(Table table,
java.io.File dataDirectory) |
Index |
BaseBTreeIndexLoader.loadIndex(Table table,
java.io.File dataDirectory) |
protected abstract Index |
BaseBTreeIndexLoader.makeIndex(java.lang.String name,
Column col,
boolean unique,
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).
|
protected int |
ObjectArrayIndex.removeKey(java.lang.Comparable seeking) |
protected int |
IntArrayIndex.removeKey(int seeking) |
protected int |
IntArrayIndex.removeKey(java.lang.Object value) |
protected abstract int |
BaseArrayIndex.removeKey(java.lang.Object value) |
protected int |
ObjectArrayIndex.removeKey(java.lang.Object value) |
protected void |
IntArrayIndex.removeKeyAt(int index) |
protected abstract void |
BaseArrayIndex.removeKeyAt(int index) |
protected void |
ObjectArrayIndex.removeKeyAt(int index) |
void |
IntBTreeIndex.rowDeleted(RowEvent event) |
void |
ObjectBTreeIndex.rowDeleted(RowEvent event) |
void |
BaseArrayIndex.rowDeleted(RowEvent event) |
void |
IntBTreeIndex.rowInserted(RowEvent event) |
void |
ObjectBTreeIndex.rowInserted(RowEvent event) |
void |
BaseArrayIndex.rowInserted(RowEvent event) |
void |
IntBTreeIndex.rowUpdated(RowEvent event) |
void |
ObjectBTreeIndex.rowUpdated(RowEvent event) |
void |
BaseArrayIndex.rowUpdated(RowEvent event) |
abstract void |
BaseIndex.save(java.io.File dataDirectory) |
void |
BaseBTreeIndex.save(java.io.File dataDirectory) |
void |
BaseArrayIndex.save(java.io.File dataDirectory) |
abstract void |
BaseBTreeIndexLoader.save(Index ndx,
java.io.File dataDirectory) |
abstract void |
BaseIndex.saveAfterTruncate(java.io.File dataDirectory) |
void |
BaseBTreeIndex.saveAfterTruncate(java.io.File dataDirectory) |
void |
BaseArrayIndex.saveAfterTruncate(java.io.File dataDirectory) |
void |
BaseArrayIndexLoader.saveIndex(Index ndx,
java.io.File dataDirectory) |
void |
BaseBTreeIndexLoader.saveIndex(Index index,
java.io.File dataDirectory) |
void |
BaseArrayIndexLoader.saveIndexAfterTruncate(Index ndx,
java.io.File dataDirectory) |
abstract void |
BaseBTreeIndexLoader.saveIndexAfterTruncate(Index ndx,
java.io.File dataDirectory) |
void |
IntArrayIndex.truncate() |
void |
IntBTreeIndex.truncate() |
abstract void |
BaseIndex.truncate() |
void |
ObjectBTreeIndex.truncate() |
void |
BaseArrayIndex.truncate() |
void |
ObjectArrayIndex.truncate() |
Constructor and Description |
---|
IntBTreeIndex(java.lang.String name,
Column column,
boolean unique) |
IntBTreeIndex(java.lang.String name,
Column column,
boolean unique,
java.io.File dataDirectory) |
ObjectBTreeIndex(java.lang.String name,
Column column,
boolean unique) |
ObjectBTreeIndex(java.lang.String name,
Column column,
boolean unique,
java.io.File dataDirectory) |
StringBTreeIndex(java.lang.String name,
Column column,
boolean unique) |
StringBTreeIndex(java.lang.String name,
Column column,
boolean unique,
int minimizationFactor) |
StringBTreeIndex(java.lang.String name,
Column column,
boolean unique,
int minimizationFactor,
java.io.File dataDirectory) |
Modifier and Type | Method and Description |
---|---|
void |
AxionColumnsMetaTableUpdater.columnAdded(ColumnEvent e) |
void |
AxionColumnsMetaTableUpdater.constraintAdded(ConstraintEvent event) |
void |
AxionColumnsMetaTableUpdater.constraintRemoved(ConstraintEvent event) |
protected Row |
AxionColumnsMetaTableUpdater.createRowForColumnAdded(Table t,
Column col) |
void |
AxionColumnsMetaTableUpdater.rowDeleted(RowEvent event) |
void |
AxionColumnsMetaTableUpdater.rowInserted(RowEvent event) |
void |
AxionColumnsMetaTableUpdater.rowUpdated(RowEvent event) |
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) |
void |
IntRowMap.truncateIndices() |
Row |
IntRowMap.updateRow(Table table,
Row oldrow,
Row newrow) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
AbstractAcceptingRowIterator.acceptable(int rowindex,
Row row)
My filtering method.
|
protected boolean |
DistinctRowIterator.acceptable(int rowindex,
Row row) |
protected boolean |
FilteringRowIterator.acceptable(int rowindex,
Row row) |
void |
ChainedRowIterator.add(Row row) |
void |
ReverseSortedRowIterator.add(Row row)
Not supported in the base implementation.
|
void |
ChangingIndexedRowIterator.add(Row row) |
void |
DelegatingRowIterator.add(Row row) |
void |
GroupedRowIterator.add(Row row)
Not supported in the base implementation.
|
void |
UnmodifiableRowIterator.add(Row row) |
void |
ListIteratorRowIterator.add(Row row) |
void |
RowIteratorRowDecoratorIterator.add(Row row) |
void |
BaseRowIterator.add(Row row)
Not supported in the base implementation.
|
protected boolean |
AbstractAcceptingRowIterator.determineNextRow() |
protected boolean |
LimitingRowIterator.determineNextRow() |
protected abstract boolean |
AbstractFilteringRowIterator.determineNextRow() |
protected boolean |
AbstractAcceptingRowIterator.determinePreviousRow() |
protected boolean |
LimitingRowIterator.determinePreviousRow() |
protected abstract boolean |
AbstractFilteringRowIterator.determinePreviousRow() |
Row |
ReverseSortedRowIterator.first() |
Row |
TransformingRowIterator.first() |
Row |
ChangingIndexedRowIterator.first() |
Row |
DelegatingRowIterator.first() |
RowDecorator |
RowIteratorRowDecoratorIterator.first() |
Row |
BaseRowIterator.first() |
protected RowIterator |
IndexNestedLoopJoinedRowIterator.generateRightRowIterator() |
protected RowIterator |
NestedLoopJoinedRowIterator.generateRightRowIterator() |
protected abstract RowIterator |
AbstractJoinedRowIterator.generateRightRowIterator() |
Row |
ChainedRowIterator.last() |
Row |
ReverseSortedRowIterator.last() |
Row |
TransformingRowIterator.last() |
Row |
CollatingRowIterator.last() |
Row |
ChangingIndexedRowIterator.last() |
Row |
DelegatingRowIterator.last() |
Row |
LazyRowRowIterator.last() |
RowDecorator |
RowIteratorRowDecoratorIterator.last() |
Row |
BaseRowIterator.last() |
Row |
ChainedRowIterator.next() |
Row |
ReverseSortedRowIterator.next() |
Row |
TransformingRowIterator.next() |
Row |
JoinRowIterator.next() |
Row |
CollatingRowIterator.next() |
Row |
ChangingIndexedRowIterator.next() |
Row |
DelegatingRowIterator.next() |
Row |
AbstractJoinedRowIterator.next() |
Row |
RowViewRowIterator.next() |
Row |
AbstractFilteringRowIterator.next() |
RowDecorator |
RowIteratorRowDecoratorIterator.next() |
abstract Row |
BaseRowIterator.next() |
int |
ChainedRowIterator.next(int count) |
int |
ChangingIndexedRowIterator.next(int count) |
int |
DelegatingRowIterator.next(int count) |
int |
LazyRowRowIterator.next(int count) |
int |
EmptyRowIterator.next(int count) |
int |
SingleRowIterator.next(int count) |
int |
BaseRowIterator.next(int count) |
Row |
ReverseSortedRowIterator.peekNext() |
Row |
TransformingRowIterator.peekNext() |
Row |
ChangingIndexedRowIterator.peekNext() |
Row |
DelegatingRowIterator.peekNext() |
Row |
BaseRowIterator.peekNext() |
Row |
ReverseSortedRowIterator.peekPrevious() |
Row |
TransformingRowIterator.peekPrevious() |
Row |
ChangingIndexedRowIterator.peekPrevious() |
Row |
DelegatingRowIterator.peekPrevious() |
Row |
BaseRowIterator.peekPrevious() |
Row |
ChainedRowIterator.previous() |
Row |
ReverseSortedRowIterator.previous() |
Row |
TransformingRowIterator.previous() |
Row |
JoinRowIterator.previous() |
Row |
CollatingRowIterator.previous() |
Row |
ChangingIndexedRowIterator.previous() |
Row |
DelegatingRowIterator.previous() |
Row |
AbstractJoinedRowIterator.previous() |
Row |
RowViewRowIterator.previous() |
Row |
AbstractFilteringRowIterator.previous() |
RowDecorator |
RowIteratorRowDecoratorIterator.previous() |
abstract Row |
BaseRowIterator.previous() |
int |
ChainedRowIterator.previous(int count) |
int |
ChangingIndexedRowIterator.previous(int count) |
int |
DelegatingRowIterator.previous(int count) |
int |
LazyRowRowIterator.previous(int count) |
int |
EmptyRowIterator.previous(int count) |
int |
SingleRowIterator.previous(int count) |
int |
BaseRowIterator.previous(int count) |
void |
ChainedRowIterator.remove() |
void |
ReverseSortedRowIterator.remove() |
void |
DistinctRowIterator.remove()
Not supported in the base implementation.
|
void |
CollatingRowIterator.remove() |
void |
SortedRowIterator.MutableMergeSort.remove() |
void |
ChangingIndexedRowIterator.remove() |
void |
DelegatingRowIterator.remove() |
void |
LazyRowRowIterator.remove() |
void |
GroupedRowIterator.remove()
Not supported in the base implementation.
|
void |
UnmodifiableRowIterator.remove() |
void |
AbstractFilteringRowIterator.remove() |
void |
RowIteratorRowDecoratorIterator.remove() |
void |
BaseRowIterator.remove()
Not supported in the base implementation.
|
void |
ChangingIndexedRowIterator.removeIndexKey() |
void |
MutableIndexedRowIterator.removeIndexKey() |
void |
FilteringChangingIndexedRowIterator.removeIndexKey() |
void |
ChainedRowIterator.reset() |
void |
ReverseSortedRowIterator.reset() |
void |
NestedLoopJoinedRowIterator.reset() |
void |
JoinRowIterator.reset() |
void |
DistinctRowIterator.reset() |
void |
RebindableIndexedRowIterator.reset() |
void |
CollatingRowIterator.reset() |
void |
ChangingIndexedRowIterator.reset() |
void |
DelegatingRowIterator.reset() |
void |
FilteringChangingIndexedRowIterator.reset() |
void |
AbstractJoinedRowIterator.reset() |
void |
RowViewRowIterator.reset() |
void |
AbstractFilteringRowIterator.reset() |
void |
RowIteratorRowDecoratorIterator.reset() |
abstract void |
BaseRowIterator.reset() |
void |
AbstractAcceptingRowIterator.set(Row row) |
void |
ChainedRowIterator.set(Row row) |
void |
ReverseSortedRowIterator.set(Row row) |
void |
DistinctRowIterator.set(Row row)
Not supported in the base implementation.
|
void |
CollatingRowIterator.set(Row row) |
void |
SortedRowIterator.MutableMergeSort.set(Row row) |
void |
ChangingIndexedRowIterator.set(Row row) |
void |
DelegatingRowIterator.set(Row row) |
void |
LazyRowRowIterator.set(Row row) |
void |
GroupedRowIterator.set(Row row)
Not supported in the base implementation.
|
void |
UnmodifiableRowIterator.set(Row row) |
void |
AbstractFilteringRowIterator.set(Row row) |
void |
RowIteratorRowDecoratorIterator.set(Row row) |
void |
BaseRowIterator.set(Row row)
Not supported in the base implementation.
|
void |
ChangingIndexedRowIterator.setIndexKey(java.lang.Object value) |
void |
MutableIndexedRowIterator.setIndexKey(java.lang.Object value) |
void |
FilteringChangingIndexedRowIterator.setIndexKey(java.lang.Object value) |
int |
ChainedRowIterator.size() |
int |
CollatingRowIterator.size() |
int |
ChangingIndexedRowIterator.size() |
int |
DelegatingRowIterator.size() |
int |
LazyRowRowIterator.size() |
int |
EmptyRowIterator.size() |
int |
SingleRowIterator.size() |
int |
RowIteratorRowDecoratorIterator.size() |
int |
BaseRowIterator.size() |
Constructor and Description |
---|
ChangingIndexedRowIterator(Index index,
Table table,
Function fn) |
GroupedRowIterator(boolean sort,
RowIterator rows,
java.util.Map fieldMap,
java.util.List groupBy,
java.util.List selected,
Selectable having,
Selectable where,
java.util.List orderBy) |
GroupedRowIterator(RowIterator rows,
java.util.Map fieldMap,
java.util.List groupBy,
java.util.List selected,
Selectable having,
java.util.List orderBy) |
IndexNestedLoopJoinedRowIterator(RowIterator left,
int leftJoinColumn,
MutableIndexedRowIterator rightIndex,
int rightColumnCount,
boolean rightOuter,
boolean swapLeftAndRight) |
MergeSort(RowIterator unsortedRows,
java.util.Comparator comparator) |
MergeSort(RowIterator unsortedRows,
java.util.List orderNodes,
RowDecorator rowDecorator) |
MutableMergeSort(RowSource source,
RowIterator unsortedRows,
java.util.Comparator comparator) |
MutableMergeSort(RowSource source,
RowIterator unsortedRows,
java.util.List orderNodes,
RowDecorator rowDecorator) |
NestedLoopJoinedRowIterator(RowIterator left,
RowIterator right,
int rightColumnCount) |
NestedLoopJoinedRowIterator(RowIterator left,
RowIterator right,
int rightColumnCount,
boolean rightOuter,
boolean swapLeftAndRight) |
RebindableIndexedRowIterator(Index index,
RowSource table,
Function fn,
BindVariable bvar) |
ReverseSortedRowIterator(RowIterator sortedIterator) |
Modifier and Type | Method and Description |
---|---|
void |
BaseTable.addColumn(Column col)
Add the given
Column to this table. |
void |
ExternalAxionDBTable.addColumn(Column col) |
void |
ExternalDatabaseTable.addColumn(Column col)
Add the given
Column to this table. |
void |
TableView.addColumn(Column col) |
void |
BaseDiskTable.addColumn(Column col) |
void |
FixedWidthFlatfileTable.addColumn(Column col,
boolean metaUpdateNeeded) |
void |
BaseDiskTable.addColumn(Column col,
boolean metaUpdateNeeded) |
void |
BaseFlatfileTable.addColumn(Column col,
boolean metaUpdateNeeded) |
void |
BaseTable.addConstraint(Constraint constraint) |
void |
ExternalAxionDBTable.addConstraint(Constraint constraint) |
void |
ExternalDatabaseTable.addConstraint(Constraint constraint) |
void |
TableView.addConstraint(Constraint constraint) |
void |
BaseDiskTable.addConstraint(Constraint constraint) |
void |
ExternalDatabaseTable.addConstraint(Constraint constraint,
boolean checkExistingRows) |
void |
BaseTable.addIndex(Index index) |
void |
ExternalAxionDBTable.addIndex(Index index) |
void |
ExternalDatabaseTable.addIndex(Index index) |
void |
TableView.addIndex(Index index) |
void |
BaseTable.addRow(Row row) |
void |
ExternalAxionDBTable.addRow(Row row) |
void |
ExternalDatabaseTable.addRow(Row row) |
void |
TableView.addRow(Row row) |
void |
ExternalDatabaseTable.apply() |
abstract void |
BaseTable.applyDeletes(org.apache.commons.collections.primitives.IntCollection rowids) |
void |
ExternalAxionDBTable.applyDeletes(org.apache.commons.collections.primitives.IntCollection rowIds) |
void |
MemoryTable.applyDeletes(org.apache.commons.collections.primitives.IntCollection rowids) |
void |
ExternalDatabaseTable.applyDeletes(org.apache.commons.collections.primitives.IntCollection rowIds) |
void |
TableView.applyDeletes(org.apache.commons.collections.primitives.IntCollection rowids) |
void |
BaseDiskTable.applyDeletes(org.apache.commons.collections.primitives.IntCollection rowIds) |
protected void |
BaseTable.applyDeletesToIndices(org.apache.commons.collections.primitives.IntCollection rowIds) |
abstract void |
BaseTable.applyInserts(RowCollection rows) |
void |
ExternalAxionDBTable.applyInserts(RowCollection rows) |
void |
MemoryTable.applyInserts(RowCollection rows) |
void |
TableView.applyInserts(RowCollection rows) |
void |
BaseDiskTable.applyInserts(RowCollection rows) |
protected void |
BaseTable.applyInsertsToIndices(RowCollection rows) |
abstract void |
BaseTable.applyUpdates(RowCollection rows) |
void |
ExternalAxionDBTable.applyUpdates(RowCollection rows) |
void |
MemoryTable.applyUpdates(RowCollection rows) |
void |
TableView.applyUpdates(RowCollection rows) |
void |
BaseDiskTable.applyUpdates(RowCollection rows) |
protected void |
BaseTable.applyUpdatesToIndices(RowCollection rows) |
void |
ExternalTableFactory.assertValidProperty(java.util.Properties props) |
void |
BaseTableOrganizationContext.assertValidPropertyKeys(java.util.Properties props) |
protected void |
ExternalDatabaseTable.checkConstraints(RowEvent event) |
protected void |
AbstractBaseTable.checkConstraints(RowEvent event,
boolean deferred,
RowDecorator dec) |
protected void |
AbstractBaseTable.checkConstraints(RowEvent event,
RowDecorator dec) |
protected void |
AbstractBaseTable.checkConstraints(RowIterator oldRows,
RowIterator newRows) |
void |
BaseTable.checkpoint() |
void |
ExternalAxionDBTable.checkpoint() |
void |
ExternalDatabaseTable.checkpoint() |
void |
TableView.checkpoint() |
void |
BaseDiskTable.checkpoint() |
void |
ExternalDatabaseTable.commit() |
ExternalTable |
ExternalDatabaseTableLoader.createExternalTable(Database database,
java.lang.String name) |
ExternalTable |
DelimitedFlatfileTableLoader.createExternalTable(Database database,
java.lang.String name) |
ExternalTable |
TaggedEBCDICTableLoader.createExternalTable(Database database,
java.lang.String name) |
ExternalTable |
FixedWidthFlatfileTableLoader.createExternalTable(Database database,
java.lang.String name) |
ExternalTable |
ExternalAxionDBTableLoader.createExternalTable(Database database,
java.lang.String name) |
protected void |
BaseDiskTable.createOrLoadDataFile() |
protected void |
BaseFlatfileTable.createOrLoadDataFile() |
protected void |
BaseFlatfileTable.createOrLoadDataFile(boolean createNewDataFile) |
protected void |
BaseDiskTable.createOrLoadFreeIdsFile() |
Table |
ExternalDatabaseTableLoader.createTable(Database database,
java.lang.String name) |
Table |
TableViewFactory.createTable(Database database,
java.lang.String name) |
Table |
DelimitedFlatfileTableLoader.createTable(Database database,
java.lang.String name) |
Table |
TaggedEBCDICTableLoader.createTable(Database database,
java.lang.String name) |
Table |
FixedWidthFlatfileTableLoader.createTable(Database database,
java.lang.String name) |
Table |
ExternalTableFactory.createTable(Database database,
java.lang.String name) |
Table |
ExternalAxionDBTableLoader.createTable(Database database,
java.lang.String name) |
ExternalTable |
ExternalTableFactory.createTable(Database database,
java.lang.String name,
java.util.Properties props,
java.util.List columns) |
void |
BaseTable.deleteRow(Row row) |
void |
ExternalAxionDBTable.deleteRow(Row row) |
void |
ExternalDatabaseTable.deleteRow(Row row) |
void |
TableView.deleteRow(Row oldrow) |
void |
BaseTable.drop() |
void |
ExternalAxionDBTable.drop() |
void |
ExternalDatabaseTable.drop() |
void |
TableView.drop() |
void |
BaseDiskTable.drop() |
int |
BaseTable.getColumnIndex(java.lang.String name) |
int |
ExternalAxionDBTable.getColumnIndex(java.lang.String name) |
int |
ExternalDatabaseTable.getColumnIndex(java.lang.String name) |
RowIterator |
BaseTable.getIndexedRows(RowSource source,
Selectable node,
boolean readOnly) |
RowIterator |
ExternalAxionDBTable.getIndexedRows(RowSource source,
Selectable node,
boolean readOnly) |
RowIterator |
ExternalDatabaseTable.getIndexedRows(RowSource source,
Selectable node,
boolean readOnly) |
RowIterator |
TableView.getIndexedRows(RowSource source,
Selectable node,
boolean readOnly) |
RowIterator |
BaseTable.getIndexedRows(Selectable node,
boolean readOnly) |
RowIterator |
ExternalAxionDBTable.getIndexedRows(Selectable node,
boolean readOnly) |
RowIterator |
ExternalDatabaseTable.getIndexedRows(Selectable node,
boolean readOnly) |
RowIterator |
TableView.getIndexedRows(Selectable node,
boolean readOnly) |
protected BufferedDataInputStream |
BaseDiskTable.getInputStream() |
RowIterator |
ExternalAxionDBTable.getMatchingRows(java.util.List selectables,
java.util.List values,
boolean readOnly) |
RowIterator |
AbstractBaseTable.getMatchingRows(java.util.List selectables,
java.util.List values,
boolean readOnly) |
RowIterator |
ExternalDatabaseTable.getMatchingRows(java.util.List selectables,
java.util.List values,
boolean readOnly) |
RowIterator |
TableView.getMatchingRows(java.util.List selectables,
java.util.List values,
boolean readOnly) |
protected BufferedDataOutputStream |
BaseDiskTable.getOutputStream() |
abstract Row |
BaseTable.getRow(int id) |
Row |
ExternalAxionDBTable.getRow(int id) |
Row |
ExternalDatabaseTable.getRow(int id) |
Row |
BaseDiskTable.getRow(int id) |
protected Row |
DelimitedFlatfileTable.getRowByOffset(int idToAssign,
long ptr) |
protected Row |
DiskTable.getRowByOffset(int idToAssign,
long ptr) |
protected Row |
FixedWidthFlatfileTable.getRowByOffset(int idToAssign,
long ptr) |
protected Row |
TaggedEBCDICTable.getRowByOffset(int idToAssign,
long ptr) |
protected abstract Row |
BaseDiskTable.getRowByOffset(int idToAssign,
long ptr) |
protected abstract RowIterator |
BaseTable.getRowIterator() |
protected RowIterator |
MemoryTable.getRowIterator() |
protected RowIterator |
ExternalDatabaseTable.getRowIterator() |
protected RowIterator |
TableView.getRowIterator() |
protected RowIterator |
BaseDiskTable.getRowIterator() |
RowIterator |
BaseTable.getRowIterator(boolean readOnly) |
RowIterator |
ExternalAxionDBTable.getRowIterator(boolean readOnly) |
RowIterator |
ExternalDatabaseTable.getRowIterator(boolean readOnly) |
RowIterator |
TableView.getRowIterator(boolean readOnly) |
boolean |
ExternalAxionDBTable.hasIndex(java.lang.String name) |
protected long |
FixedWidthFlatfileTable.ignoreRowsToSkip() |
protected long |
TaggedEBCDICTable.ignoreRowsToSkip() |
protected long |
BaseFlatfileTable.ignoreRowsToSkip() |
protected void |
DiskTable.initFiles(java.io.File basedir,
boolean datafilesonly) |
protected void |
BaseDiskTable.initFiles(java.io.File basedir,
boolean datafilesonly) |
protected void |
BaseDiskTable.initializeRowCount() |
protected void |
FixedWidthFlatfileTable.initializeTable() |
protected void |
TaggedEBCDICTable.initializeTable() |
protected void |
BaseFlatfileTable.initializeTable() |
boolean |
DelimitedFlatfileTable.loadExternalTable(java.util.Properties props) |
boolean |
ExternalAxionDBTable.loadExternalTable(java.util.Properties props) |
boolean |
ExternalDatabaseTable.loadExternalTable(java.util.Properties props) |
boolean |
FixedWidthFlatfileTable.loadExternalTable(java.util.Properties props) |
boolean |
TaggedEBCDICTable.loadExternalTable(java.util.Properties props) |
boolean |
BaseFlatfileTable.loadExternalTable(java.util.Properties props)
Loads external data using the given properties table - should be called only once
by the table factory.
|
protected void |
BaseDiskTable.loadOrMigrateMetaFile(Database db) |
void |
ExternalAxionDBTable.migrate() |
void |
AbstractBaseTable.migrate() |
void |
ExternalDatabaseTable.migrate() |
void |
TableView.migrate() |
void |
BaseDiskTable.migrate(Database db)
Migrate from older version to newer version for this table
|
protected int |
FixedWidthFlatfileTable.nextLineLength(long fileOffset) |
protected int |
BaseFlatfileTable.nextLineLength(long fileOffset) |
protected void |
BaseTable.notifyColumnsOfNewLobDir(java.io.File directory) |
protected AxionFileSystem.PidxList |
BaseDiskTable.parsePidxFile(java.io.File pidxFile) |
protected void |
DelimitedFlatfileTable.parseTableProperties(java.io.ObjectInputStream in) |
protected void |
FixedWidthFlatfileTable.parseTableProperties(java.io.ObjectInputStream in) |
protected void |
TaggedEBCDICTable.parseTableProperties(java.io.ObjectInputStream in) |
protected void |
BaseDiskTable.parseTableProperties(java.io.ObjectInputStream in) |
abstract void |
BaseTable.populateIndex(Index index) |
void |
ExternalAxionDBTable.populateIndex(Index index) |
void |
MemoryTable.populateIndex(Index index) |
void |
ExternalDatabaseTable.populateIndex(Index index) |
void |
TableView.populateIndex(Index index) |
void |
BaseDiskTable.populateIndex(Index index) |
protected void |
BaseTable.readConstraints(java.io.ObjectInputStream in,
Database db) |
abstract void |
BaseTableOrganizationContext.readOrSetDefaultProperties(java.util.Properties props) |
void |
BaseFlatfileTable.BaseFlatfileTableOrganizationContext.readOrSetDefaultProperties(java.util.Properties props) |
protected void |
BaseTable.recreateIndices() |
protected void |
DiskTable.reloadFilesAfterTruncate() |
protected abstract void |
BaseDiskTable.reloadFilesAfterTruncate() |
protected void |
BaseFlatfileTable.reloadFilesAfterTruncate() |
void |
ExternalAxionDBTable.remount() |
void |
ExternalDatabaseTable.remount() |
void |
BaseFlatfileTable.remount() |
void |
BaseTable.remount(java.io.File dir,
boolean datafilesonly) |
void |
ExternalAxionDBTable.remount(java.io.File dir,
boolean datafilesonly) |
void |
ExternalDatabaseTable.remount(java.io.File dir,
boolean datafilesonly) |
void |
TableView.remount(java.io.File dir,
boolean datafilesonly) |
void |
BaseDiskTable.remount(java.io.File newdir,
boolean datafilesonly) |
void |
BaseTable.removeIndex(Index index) |
void |
ExternalAxionDBTable.removeIndex(Index index) |
void |
ExternalDatabaseTable.removeIndex(Index index) |
void |
TableView.removeIndex(Index index) |
void |
BaseDiskTable.removeIndex(Index index) |
void |
BaseTable.rename(java.lang.String oldName,
java.lang.String newName) |
void |
ExternalAxionDBTable.rename(java.lang.String oldName,
java.lang.String newName) |
void |
ExternalDatabaseTable.rename(java.lang.String oldName,
java.lang.String newName) |
void |
TableView.rename(java.lang.String oldName,
java.lang.String newName) |
void |
BaseDiskTable.rename(java.lang.String oldName,
java.lang.String newName) |
protected void |
BaseDiskTable.resetLobColumns() |
void |
ExternalDatabaseTable.rollback() |
protected void |
BaseDiskTable.saveIndicesAfterTruncate() |
void |
BaseTable.setSequence(Sequence seq) |
void |
ExternalAxionDBTable.setSequence(Sequence seq) |
void |
ExternalDatabaseTable.setSequence(Sequence seq) |
void |
TableView.setSequence(Sequence seq) |
void |
BaseDiskTable.setSequence(Sequence seq) |
void |
TableView.setSubQuery(java.lang.String query) |
protected void |
ExternalDatabaseTable.setUp(DatabaseLink server) |
void |
BaseTable.shutdown() |
void |
ExternalAxionDBTable.shutdown() |
void |
ExternalDatabaseTable.shutdown() |
void |
TableView.shutdown() |
void |
BaseDiskTable.shutdown() |
void |
ExternalAxionDBTable.truncate() |
void |
MemoryTable.truncate() |
void |
ExternalDatabaseTable.truncate() |
void |
TableView.truncate() |
void |
BaseDiskTable.truncate() |
protected void |
BaseTable.truncateIndices() |
protected Row |
BaseFlatfileTable.trySettingColumn(int idToAssign,
Row row,
int i,
java.lang.String colValue) |
protected void |
BaseDiskTable.tryToRemove(RowIterator iter) |
void |
BaseTable.updateRow(Row oldrow,
Row newrow) |
void |
ExternalAxionDBTable.updateRow(Row oldrow,
Row newrow) |
void |
ExternalDatabaseTable.updateRow(Row oldrow,
Row newrow) |
void |
TableView.updateRow(Row oldrow,
Row newrow) |
void |
ExternalDatabaseTable.updateRow(Row oldrow,
Row newrow,
java.util.List cols) |
protected void |
BaseDiskTable.writeFridFile() |
protected void |
DelimitedFlatfileTable.writeHeader(BufferedDataOutputStream dataFile) |
protected void |
FixedWidthFlatfileTable.writeHeader(BufferedDataOutputStream dataFile) |
protected void |
TaggedEBCDICTable.writeHeader(BufferedDataOutputStream dataFile) |
protected abstract void |
BaseFlatfileTable.writeHeader(BufferedDataOutputStream data2) |
protected void |
BaseDiskTable.writeMetaFile() |
protected void |
BaseDiskTable.writeNameToFile(java.io.File file,
java.lang.Object obj) |
protected void |
DelimitedFlatfileTable.writeRow(BufferedDataOutputStream buffer,
Row row) |
protected void |
DiskTable.writeRow(BufferedDataOutputStream out,
Row row) |
protected void |
FixedWidthFlatfileTable.writeRow(BufferedDataOutputStream out,
Row row) |
protected void |
TaggedEBCDICTable.writeRow(BufferedDataOutputStream out,
Row row) |
protected abstract void |
BaseDiskTable.writeRow(BufferedDataOutputStream buffer,
Row row) |
protected void |
DelimitedFlatfileTable.writeTableProperties(java.io.ObjectOutputStream out) |
protected void |
FixedWidthFlatfileTable.writeTableProperties(java.io.ObjectOutputStream out) |
protected void |
TaggedEBCDICTable.writeTableProperties(java.io.ObjectOutputStream out) |
protected void |
BaseDiskTable.writeTableProperties(java.io.ObjectOutputStream out) |
Constructor and Description |
---|
BaseDiskTable(java.lang.String name,
Database db,
TableFactory factory) |
BaseFlatfileTable(java.lang.String name,
Database db,
TableFactory factory) |
DelimitedFlatfileTable(java.lang.String name,
Database db) |
DiskTable(java.lang.String name,
Database db) |
FixedWidthFlatfileTable(java.lang.String name,
Database db) |
TableView(Database db,
java.lang.String name) |
TableView(Database db,
java.lang.String name,
java.lang.String type,
SubSelectCommand subSelectCmd) |
TableView(Database db,
java.lang.String name,
SubSelectCommand subSelectCmd) |
TaggedEBCDICTable(java.lang.String name,
Database db) |
Modifier and Type | Method and Description |
---|---|
void |
ResolveFromNodeVisitor.resolveFromNode(FromNode from,
Database db) |
void |
ResolveFromNodeVisitor.resolveFromNode(FromNode node,
Database db,
java.util.List selected) |
Selectable |
ResolveSelectableVisitor.visit(ColumnIdentifier column,
java.util.List selected,
TableIdentifier[] tables) |
Selectable |
ResolveSelectableVisitor.visit(FunctionIdentifier fn,
java.util.List selected,
TableIdentifier[] tables) |
void |
TableColumnsUsedInFunctionVisitor.visit(Function fn,
Table sourceTable) |
boolean |
AssertGroupByRulesVisitor.visit(java.util.List selectList,
java.util.List groupByNodes) |
void |
AmbiguousColumnReferenceVisitor.visit(java.util.List selectList,
java.util.List referenceColumns) |
Selectable |
ResolveSelectableVisitor.visit(Selectable selectable,
java.util.List selected,
TableIdentifier[] tables)
"Resolve" the given
Selectable relative to the given list of
tables , converting aliased or relative references into
absolute ones. |
Selectable |
ResolveSelectableVisitor.visit(SubSelectCommand select,
TableIdentifier[] tables) |
Modifier and Type | Method and Description |
---|---|
void |
BaseTableModificationListener.columnAdded(ColumnEvent event) |
void |
TableModificationListener.columnAdded(ColumnEvent event) |
void |
BaseTableModificationListener.constraintAdded(ConstraintEvent event) |
void |
TableModificationListener.constraintAdded(ConstraintEvent event) |
void |
BaseTableModificationListener.constraintRemoved(ConstraintEvent event) |
void |
TableModificationListener.constraintRemoved(ConstraintEvent event) |
void |
BaseTableModificationPublisher.publishEvent(TableModifiedEvent e) |
void |
BaseTableModificationListener.rowDeleted(RowEvent event) |
void |
TableModificationListener.rowDeleted(RowEvent event) |
void |
BaseTableModificationListener.rowInserted(RowEvent event) |
void |
TableModificationListener.rowInserted(RowEvent event) |
void |
BaseTableModificationListener.rowUpdated(RowEvent event) |
void |
TableModificationListener.rowUpdated(RowEvent event) |
void |
ColumnEvent.visit(TableModificationListener listener) |
abstract void |
TableModifiedEvent.visit(TableModificationListener listener) |
void |
RowInsertedEvent.visit(TableModificationListener listener) |
void |
RowUpdatedEvent.visit(TableModificationListener listener) |
void |
RowDeletedEvent.visit(TableModificationListener listener) |
Constructor and Description |
---|
DatabaseSequenceEvent(Sequence seq) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
BaseAggregateFunction.acceptable(java.lang.Object val) |
protected java.util.regex.Pattern |
BaseRegExpFunction.compile(java.lang.String pattern) |
protected java.lang.String |
LikeToRegexpFunction.convertLike(java.lang.String orig) |
protected java.lang.String |
LikeToRegexpFunction.convertLike(java.lang.String orig,
char skipChar) |
java.lang.Object |
RPadFunction.evaluate(RowDecorator row) |
java.lang.Object |
ExistsFunction.evaluate(RowDecorator row) |
java.lang.Object |
BaseBooleanBranchFunction.evaluate(RowDecorator row) |
java.lang.Object |
ModFunction.evaluate(RowDecorator row) |
java.lang.Object |
LengthFunction.evaluate(RowDecorator row) |
java.lang.Object |
InFunction.evaluate(RowDecorator row) |
java.lang.Object |
ReplaceFunction.evaluate(RowDecorator row) |
java.lang.Object |
SignFunction.evaluate(RowDecorator row) |
java.lang.Object |
RowNumFunction.evaluate(RowDecorator row) |
java.lang.Object |
CoalesceFunction.evaluate(RowDecorator row) |
java.lang.Object |
Base64DecodeFunction.evaluate(RowDecorator row) |
java.lang.Object |
ScalarFunction.evaluate(RowDecorator row) |
java.lang.Object |
ContainsFunction.evaluate(RowDecorator row) |
java.lang.Object |
LowerFunction.evaluate(RowDecorator row) |
java.lang.Object |
IsNullFunction.evaluate(RowDecorator row) |
java.lang.Object |
RoundFunction.evaluate(RowDecorator row) |
java.lang.Object |
CastAsFunction.evaluate(RowDecorator row) |
java.lang.Object |
NotInFunction.evaluate(RowDecorator row) |
java.lang.Object |
CharFunction.evaluate(RowDecorator row) |
java.lang.Object |
NotFunction.evaluate(RowDecorator row) |
java.lang.Object |
CharToDateFunction.evaluate(RowDecorator row)
Gets String value representing the timestamp/date value in the given format.
|
java.lang.Object |
BaseAggregateFunction.evaluate(RowDecorator row) |
java.lang.Object |
LPadFunction.evaluate(RowDecorator row) |
java.lang.Object |
SoundexFunction.evaluate(RowDecorator row) |
java.lang.Object |
UpperFunction.evaluate(RowDecorator row) |
java.lang.Object |
IsValidDateTimeFunction.evaluate(RowDecorator row) |
java.lang.Object |
LTrimFunction.evaluate(RowDecorator row) |
java.lang.Object |
DifferenceFunction.evaluate(RowDecorator row) |
java.lang.Object |
MatchesFunction.evaluate(RowDecorator row) |
java.lang.Object |
DateDiffFunction.evaluate(RowDecorator row)
Returns integer difference (timestamp2 - timestamp1) in units of interval of type
interval_type.
|
java.lang.Object |
ComparisonFunction.evaluate(RowDecorator row) |
java.lang.Object |
InStringFunction.evaluate(RowDecorator row) |
java.lang.Object |
SubstringFunction.evaluate(RowDecorator row)
Returns substring of str, beginning at character m, n characters long.
|
java.lang.Object |
NowFunction.evaluate(RowDecorator row) |
java.lang.Object |
BitAndFunction.evaluate(RowDecorator row) |
java.lang.Object |
RTrimFunction.evaluate(RowDecorator row) |
java.lang.Object |
ArithmeticFunction.evaluate(RowDecorator row) |
java.lang.Object |
DateAddFunction.evaluate(RowDecorator row)
Returns new Timestamp which is (timestamp + interval) where interval is integer
units of interval_type.
|
java.lang.Object |
DateToCharFunction.evaluate(RowDecorator row)
Returns String value representing the timestamp/date value in the given format.
|
java.lang.Object |
TrimFunction.evaluate(RowDecorator row) |
java.lang.Object |
NullIfFunction.evaluate(RowDecorator row) |
java.lang.Object |
SoundsLikeFunction.evaluate(RowDecorator row) |
java.lang.Object |
AsciiFunction.evaluate(RowDecorator row) |
java.lang.Object |
Base64EncodeFunction.evaluate(RowDecorator row) |
java.lang.Object |
DatePartFunction.evaluate(RowDecorator row)
Returns String representation of requested portion of given timestamp.
|
java.lang.Object |
BitOrFunction.evaluate(RowDecorator row) |
java.lang.Object |
TruncateFunction.evaluate(RowDecorator row) |
java.lang.Object |
Log10Function.evaluate(RowDecorator row) |
java.lang.Object |
HexFunction.evaluate(RowDecorator row) |
java.lang.Object |
LikeToRegexpFunction.evaluate(RowDecorator row) |
java.lang.Object |
IfThenFunction.evaluate(RowDecorator row) |
java.lang.Object |
ABSFunction.evaluate(RowDecorator row) |
java.lang.Object |
SpaceFunction.evaluate(RowDecorator row) |
java.lang.Object |
ConcatFunction.evaluate(RowDecorator row) |
java.lang.Object |
IsNotNullFunction.evaluate(RowDecorator row) |
java.lang.Object |
CountFunction.evaluate(RowDecoratorIterator rows) |
java.lang.Object |
AverageFunction.evaluate(RowDecoratorIterator rows) |
java.lang.Object |
AggregateFunction.evaluate(RowDecoratorIterator rows) |
java.lang.Object |
ComparableAggregateFunction.evaluate(RowDecoratorIterator rows) |
java.lang.Object |
SumFunction.evaluate(RowDecoratorIterator rows) |
protected java.math.BigDecimal |
DivideFunction.operate(java.math.BigDecimal left,
java.math.BigDecimal right) |
protected java.math.BigDecimal |
SubtractFunction.operate(java.math.BigDecimal left,
java.math.BigDecimal right) |
protected java.math.BigDecimal |
MultiplyFunction.operate(java.math.BigDecimal left,
java.math.BigDecimal right) |
protected abstract java.math.BigDecimal |
ArithmeticFunction.operate(java.math.BigDecimal left,
java.math.BigDecimal right) |
protected java.math.BigDecimal |
AddFunction.operate(java.math.BigDecimal left,
java.math.BigDecimal right) |
protected void |
MaxFunction.setDistinct() |
protected void |
MinFunction.setDistinct() |
protected void |
BaseAggregateFunction.setDistinct() |
protected void |
BaseAggregateFunction.setDistinct(boolean distinct) |
Modifier and Type | Method and Description |
---|---|
static void |
FileUtil.assertFileNotLocked(java.io.File file) |
BufferedDataOutputStream |
AxionFileSystem.createBufferedDOS(java.io.File file)
create a new file and wrap wrap the stream with BufferedDataOutputStream which
improves perfermance significantly.
|
boolean |
AxionFileSystem.createNewFile(java.io.File file) |
static boolean |
FileUtil.delete(java.io.File file)
Get rid of File file, whether a true file or dir.
|
AxionFileSystem.PidxList |
AxionFileSystem.newPidxList(int count,
java.io.File file,
boolean readonly) |
BufferedDataInputStream |
AxionFileSystem.openBufferedDIS(java.io.File file)
Open file in read only mode, position will be set to 0.
|
BufferedDataOutputStream |
AxionFileSystem.openBufferedDOS(java.io.File file,
long startPos)
Open a outputsteam and points the file pointer to a given start position in the
file.
|
BufferedDataOutputStream |
AxionFileSystem.openBufferedDOSAppend(java.io.File file,
int bufferSize)
Open file in append mode, position will be set to the end of file.
|
org.apache.commons.collections.primitives.IntList |
AxionFileSystem.parseIntFile(java.io.File file)
Reads a list of int values from a file.
|
AxionFileSystem.PidxList |
AxionFileSystem.parseLongPidx(java.io.File file,
boolean readOnly)
Reads a list of long values from a file.
|
AxionFileSystem.PidxList |
AxionFileSystem.parseUnsignedIntPidx(java.io.File file,
boolean readOnly) |
void |
AxionFileSystem.readAll(java.io.File file,
byte[] rawdata) |
static void |
FileUtil.truncate(java.io.File file,
long length)
Truncate file to a given length
|
void |
AxionFileSystem.PidxList.writeAll() |
void |
AxionFileSystem.writeIntFile(java.io.File file,
org.apache.commons.collections.primitives.IntList list)
Writes a list of int values to a file.
|
void |
AxionFileSystem.writeUnsignedInt(BufferedDataOutputStream out,
long offset,
int value)
Updates an UnsignedInt value to a file.
|
void |
AxionFileSystem.writeUnsignedIntFile(java.io.File file,
org.apache.commons.collections.primitives.LongList list)
Writes a list of long values to a file.
|
Constructor and Description |
---|
PidxList(int count,
java.io.File pidxFile,
boolean readOnly) |
PidxList(org.apache.commons.collections.primitives.LongList list,
java.io.File pidxFile,
boolean readOnly) |
Modifier and Type | Method and Description |
---|---|
protected java.sql.Connection |
ConnectionFactory.createConnection(java.lang.String url) |
protected Database |
BaseAxionStatement.getDatabase() |
Constructor and Description |
---|
AxionConnection(java.lang.String name,
java.io.File path,
java.lang.String url) |
Modifier and Type | Method and Description |
---|---|
AxionCommand |
AxionSqlParser.parse(java.lang.String sql) |
AxionCommand |
Parser.parse(java.lang.String sql)
Parse a
command from the given String . |
java.lang.String |
AxionDateTimeFormatParser.parseDateTimeFormatToJava(java.lang.String dtPattern) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
BigDecimalType.convert(java.lang.Object value)
Returns a BigDecimal converted from the given value , or throws
IllegalArgumentException if the given value isn't
acceptable . |
abstract java.lang.Object |
BaseDataType.convert(java.lang.Object value) |
java.lang.Object |
IntegerType.convert(java.lang.Object value)
Returns an
Integer converted from the given value , or throws
IllegalArgumentException if the given value isn't
acceptable . |
java.lang.Object |
CharacterType.convert(java.lang.Object value)
Returns an String converted from the given value , or throws
IllegalArgumentException if the given value isn't
acceptable . |
java.lang.Object |
UnsignedIntegerType.convert(java.lang.Object value)
Returns an Long converted from the given value , or throws
IllegalArgumentException if the given value isn't
acceptable . |
java.lang.Object |
StringType.convert(java.lang.Object value)
Returns a
String converted from the given value , or throws
IllegalArgumentException if the given value isn't
acceptable . |
java.lang.Object |
UnsignedShortType.convert(java.lang.Object value)
Returns an Integer converted from the given value , or throws
IllegalArgumentException if the given value isn't
acceptable . |
java.lang.Object |
BaseNumberDataType.convert(java.lang.Object value)
Returns value if value is
null and throws
IllegalArgumentException otherwise. |
java.lang.Object |
TimestampType.convert(java.lang.Object value)
Returns an Byte converted from the given value , or throws
IllegalArgumentException if the given value isn't
acceptable . |
java.lang.Object |
ShortType.convert(java.lang.Object value)
Returns an Short converted from the given value , or throws
IllegalArgumentException if the given value isn't
acceptable . |
java.lang.Object |
UnsignedByteType.convert(java.lang.Object value)
Returns an Short converted from the given value , or throws
IllegalArgumentException if the given value isn't
acceptable . |
java.lang.Object |
TimeType.convert(java.lang.Object value)
Returns a java.sql.Date converted from the given value , or
throws
AxionException if the given value isn't
acceptable . |
java.lang.Object |
BigIntType.convert(java.lang.Object value)
Returns an Long converted from the given value , or throws
IllegalArgumentException if the given value isn't
acceptable . |
java.lang.Object |
ByteType.convert(java.lang.Object value)
Returns an Byte converted from the given value , or throws
IllegalArgumentException if the given value isn't
acceptable . |
java.lang.Object |
DateType.convert(java.lang.Object value)
Returns a java.sql.Date converted from the given value , or
throws
IllegalArgumentException if the given value isn't
acceptable . |
java.lang.Object |
DoubleType.convert(java.lang.Object value)
Returns a Double converted from the given value , or throws
IllegalArgumentException if the given value isn't
acceptable . |
java.lang.Object |
VarBinaryType.convert(java.lang.Object value)
Converts an
acceptable value to one of the appropriate type. |
java.lang.Object |
FloatType.convert(java.lang.Object value)
Returns a Float converted from the given value , or throws
IllegalArgumentException if the given value isn't
acceptable . |
java.io.InputStream |
FileLobSource.getInputStream() |
java.io.InputStream |
LobSource.getInputStream() |
java.io.InputStream |
FileOffsetLobSource.getInputStream() |
java.io.InputStream |
CompressedLobSource.getInputStream() |
LobSource |
FileOffsetLobLocator.getLobSource(java.io.File parentDir,
BufferedDataInputStream in) |
LobSource |
LobLocator.getLobSource(java.io.File parentDir,
BufferedDataInputStream in) |
protected java.io.InputStream |
ClobSource.getUtf8Stream() |
long |
FileLobSource.length() |
long |
LobSource.length() |
long |
FileOffsetLobSource.length() |
long |
CompressedLobSource.length() |
protected BlobSource |
CompressedLOBType.makeBlobSource(LobLocator loc) |
protected BlobSource |
LOBType.makeBlobSource(LobLocator loc) |
protected ClobSource |
CompressedLOBType.makeClobSource(LobLocator loc) |
protected ClobSource |
LOBType.makeClobSource(LobLocator loc) |
protected java.lang.String |
CharacterType.process(java.lang.String value) |
protected java.lang.String |
CharacterVaryingType.process(java.lang.String value) |
void |
LOBType.setLobDir(java.io.File lobDir) |
java.io.OutputStream |
FileLobSource.setOutputStream(long pos) |
java.io.OutputStream |
LobSource.setOutputStream(long pos) |
java.io.OutputStream |
FileOffsetLobSource.setOutputStream(long pos) |
java.io.OutputStream |
CompressedLobSource.setOutputStream(long pos) |
java.math.BigDecimal |
BaseDataType.toBigDecimal(java.lang.Object value) |
java.math.BigDecimal |
TimestampType.toBigDecimal(java.lang.Object value) |
java.math.BigDecimal |
TimeType.toBigDecimal(java.lang.Object value) |
java.math.BigDecimal |
DateType.toBigDecimal(java.lang.Object value) |
java.math.BigInteger |
BaseDataType.toBigInteger(java.lang.Object value) |
java.sql.Blob |
BaseDataType.toBlob(java.lang.Object value) |
java.sql.Blob |
LOBType.toBlob(java.lang.Object value) |
java.sql.Blob |
AnyType.toBlob(java.lang.Object value) |
boolean |
BaseDataType.toBoolean(java.lang.Object value) |
boolean |
BooleanType.toBoolean(java.lang.Object value) |
boolean |
AnyType.toBoolean(java.lang.Object value) |
byte |
BaseDataType.toByte(java.lang.Object value) |
byte |
AnyType.toByte(java.lang.Object value) |
byte[] |
BaseDataType.toByteArray(java.lang.Object value) |
byte[] |
CharacterType.toByteArray(java.lang.Object value) |
byte[] |
StringType.toByteArray(java.lang.Object value) |
byte[] |
VarBinaryType.toByteArray(java.lang.Object value) |
byte[] |
AnyType.toByteArray(java.lang.Object value) |
java.sql.Clob |
BaseDataType.toClob(java.lang.Object value) |
java.sql.Clob |
LOBType.toClob(java.lang.Object value) |
java.sql.Clob |
AnyType.toClob(java.lang.Object value) |
java.sql.Date |
BaseDataType.toDate(java.lang.Object value) |
java.sql.Date |
TimestampType.toDate(java.lang.Object value) |
java.sql.Date |
TimeType.toDate(java.lang.Object value) |
java.sql.Date |
DateType.toDate(java.lang.Object value) |
java.sql.Date |
AnyType.toDate(java.lang.Object value) |
double |
BaseDataType.toDouble(java.lang.Object value) |
double |
AnyType.toDouble(java.lang.Object value) |
float |
BaseDataType.toFloat(java.lang.Object value) |
float |
AnyType.toFloat(java.lang.Object value) |
int |
BaseDataType.toInt(java.lang.Object value) |
int |
AnyType.toInt(java.lang.Object value) |
long |
BaseDataType.toLong(java.lang.Object value) |
long |
AnyType.toLong(java.lang.Object value) |
protected java.lang.Number |
BaseDataType.toNumber(java.lang.Object value) |
protected java.lang.Number |
BaseNumberDataType.toNumber(java.lang.Object value) |
protected java.lang.Number |
AnyType.toNumber(java.lang.Object value) |
short |
BaseDataType.toShort(java.lang.Object value) |
short |
AnyType.toShort(java.lang.Object value) |
java.lang.String |
BaseDataType.toString(java.lang.Object value) |
java.lang.String |
TimestampType.toString(java.lang.Object value) |
java.lang.String |
TimeType.toString(java.lang.Object value) |
java.lang.String |
DateType.toString(java.lang.Object value) |
java.lang.String |
LOBType.toString(java.lang.Object value) |
java.lang.String |
AnyType.toString(java.lang.Object value) |
java.sql.Time |
BaseDataType.toTime(java.lang.Object value) |
java.sql.Time |
TimestampType.toTime(java.lang.Object value) |
java.sql.Time |
TimeType.toTime(java.lang.Object value) |
java.sql.Time |
DateType.toTime(java.lang.Object value) |
java.sql.Time |
AnyType.toTime(java.lang.Object value) |
java.sql.Timestamp |
BaseDataType.toTimestamp(java.lang.Object value) |
java.sql.Timestamp |
TimestampType.toTimestamp(java.lang.Object value) |
java.sql.Timestamp |
TimeType.toTimestamp(java.lang.Object value) |
java.sql.Timestamp |
DateType.toTimestamp(java.lang.Object value) |
java.sql.Timestamp |
AnyType.toTimestamp(java.lang.Object value) |
java.net.URL |
BaseDataType.toURL(java.lang.Object value) |
void |
FileLobSource.truncate(long length) |
void |
LobSource.truncate(long length) |
void |
FileOffsetLobSource.truncate(long length) |
void |
CompressedLobSource.truncate(long length) |
protected java.lang.String |
CharacterType.truncateIfLegal(java.lang.String source) |
Modifier and Type | Method and Description |
---|---|
static java.sql.SQLException |
ExceptionConverter.convert(AxionException e) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
DateTimeUtils.convertToChar(java.sql.Timestamp timestamp,
java.lang.String formatStr)
Creates a String representation of the given Timestamp object, using
the given format string as a template and the current Axion time zone.
|
static java.lang.String |
DateTimeUtils.convertToChar(java.sql.Timestamp timestamp,
java.lang.String formatStr,
java.util.TimeZone timezone)
Creates a String representation of the given Timestamp object, using
the given format string as a template, the given time zone, and the
current default Locale.
|
static java.lang.String |
DateTimeUtils.convertToChar(java.sql.Timestamp timestamp,
java.lang.String formatStr,
java.util.TimeZone timezone,
java.util.Locale locale)
Creates a String representation of the given Timestamp object, using
the given format string as a template, the given time zone, and the
given Locale.
|
static java.sql.Timestamp |
DateTimeUtils.convertToTimestamp(java.lang.String dateStr,
java.lang.String formatStr)
Creates a String representation of the given Timestamp object, using
the given format string as a template and the current Axion time zone.
|
static java.sql.Timestamp |
DateTimeUtils.convertToTimestamp(java.lang.String dateStr,
java.lang.String formatStr,
java.util.TimeZone timezone)
Creates a String representation of the given Timestamp object, using
the given format string as a template and the given time zone.
|
static java.sql.Timestamp |
DateTimeUtils.convertToTimestamp(java.lang.String dateStr,
java.lang.String formatStr,
java.util.TimeZone timezone,
java.util.Locale locale)
Creates a String representation of the given Timestamp object, using
the given format string as a template, the given time zone, and the
given Locale
|
static java.lang.String |
DateTimeUtils.getDatePart(java.sql.Timestamp t,
java.lang.String partIdent)
Extracts the specified date/time element from the given Timestamp,
using the default Locale.
|
static java.lang.String |
DateTimeUtils.getDatePart(java.sql.Timestamp t,
java.lang.String partIdent,
java.util.Locale locale)
Extracts the specified date/time element from the given Timestamp,
using the given Locale.
|
static java.lang.String |
DateTimeUtils.getPartMnemonicFor(java.lang.String partString) |
static int |
DateTimeUtils.labelToCode(java.lang.String value)
Converts the given value, which represents a date or time interval,
to its corresponding constant value.
|