org.axiondb.engine.commands
public abstract class BaseAxionCommand extends Object implements AxionCommand
Version: $Revision: 1.37 $ $Date: 2005/12/22 09:02:29 $
| Method Summary | |
|---|---|
| protected void | assertNotReadOnly(Database db) Throws an AxionExceptionif the given Databaseis read-only. |
| protected Object | attemptToConvertValue(Object val, DataType type, ColumnIdentifier colid) |
| void | bindAll(Object[] vals)
Sets the values of all bind variable within this command.
|
| protected void | buildBindVariables() |
| void | clearBindings()
Clears all bind variables within this command. |
| protected void | createResolveSelectableVisitor(Database db) |
| AxionResultSet | executeQuery(Database db, boolean isReadOnly) |
| protected Iterator | getBindVariableIterator()
Returns an Iteratorover all my BindVariables, in the proper
order. |
| protected Iterator | getBindVariableIterator(Selectable sel) |
| List | getBindVariables() |
| protected FindBindVariableVisitor | getBindVariableVisitor() |
| protected List | getColIdentifierList(Table table, TableIdentifier tid) |
| protected int | getCommitSize(Database db) |
| int | getEffectedRowCount() |
| ResultSet | getResultSet() |
| protected RowIterator | getRowIterator(Database db, TableIdentifier tid, Table table, Selectable whereNode, boolean readOnly, RowDecorator dec) |
| protected RowDecorator | makeRowDecorator(Table table) |
| protected void | populateDefaultValues(Database db, Table table, TableIdentifier tableId, RowDecorator dec) |
| protected boolean | populateSequenceColumns(Database db, Table table, Row row) |
| protected void | resolveGeneratedColumns(Table table, TableIdentifier tableId, List cols) |
| protected void | resolveGeneratedColumns(Table table, TableIdentifier tableId, List cols, boolean useDefaultValues) |
| protected Selectable | resolveSelectable(Selectable sel, Database db, List selected, TableIdentifier[] tables) |
| protected Selectable | resolveSelectable(Selectable sel, Database db, TableIdentifier[] tables) |
| protected void | resolveSelectableList(List list, Database db, TableIdentifier table) |
| protected void | resolveSelectableList(List list, Database db, TableIdentifier[] tables) |
| protected void | setBindVariableVisitor(FindBindVariableVisitor visitor) |
| protected void | setDeferAllConstraintIfRequired(Table table) |
| protected void | setEffectedRowCount(int count)
If sublasses return a number of rows effected, then upon execution, they should set
that number here so it can support |
| protected void | setResultSet(ResultSet rset)
If subclasses create a AxionResultSetupon execution, they
should set it here so that they can support BaseAxionCommand.
|
| protected void | updateGeneratedValues(Database db, Table table, TableIdentifier tableId, Row row) |
Parameters: index the one-based index of the variable value the value to bind the variable to
See Also: BaseAxionCommand