| java.lang.Object org.axiondb.engine.commands.BaseAxionCommand
All known Subclasses: org.axiondb.engine.commands.AlterTableCommand, org.axiondb.engine.commands.ShutdownCommand, org.axiondb.engine.commands.ChildTableUpdater, org.axiondb.engine.commands.ConstraintCommand, org.axiondb.engine.commands.TruncateCommand, org.axiondb.engine.commands.InsertCommand, org.axiondb.engine.commands.InsertIntoClause, org.axiondb.engine.commands.RemountCommand, org.axiondb.engine.commands.CheckFileStateCommand, org.axiondb.engine.commands.DefragCommand, org.axiondb.engine.commands.CreateCommand, org.axiondb.engine.commands.SelectCommand, org.axiondb.engine.commands.DropCommand,
BaseAxionCommand | abstract public class BaseAxionCommand implements AxionCommand(Code) | | Abstract base
AxionCommand implementation.
version: $Revision: 1.37 $ $Date: 2005/12/22 09:02:29 $ author: Rodney Waldhoff author: Chuck Burdick author: Ahimanikya Satapathy |
Method Summary | |
protected void | assertNotReadOnly(Database db) Throws an
AxionException if the given
Database is read-only. | protected Object | attemptToConvertValue(Object val, DataType type, ColumnIdentifier colid) | public void | bindAll(Object[] vals) Sets the values of all bind variable within this command. | protected void | buildBindVariables() | public void | clearBindings() Clears all bind variables within this command. | final protected void | createResolveSelectableVisitor(Database db) | public AxionResultSet | executeQuery(Database db, boolean isReadOnly) | protected Iterator | getBindVariableIterator() Returns an
Iterator over all my
BindVariable s, in the proper
order. | protected Iterator | getBindVariableIterator(Selectable sel) | final protected FindBindVariableVisitor | getBindVariableVisitor() | public List | getBindVariables() | protected List | getColIdentifierList(Table table, TableIdentifier tid) | protected int | getCommitSize(Database db) | final public int | getEffectedRowCount() | final public ResultSet | getResultSet() | protected RowIterator | getRowIterator(Database db, TableIdentifier tid, Table table, Selectable whereNode, boolean readOnly, RowDecorator dec) | final 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) | final protected void | setBindVariableVisitor(FindBindVariableVisitor visitor) | protected void | setDeferAllConstraintIfRequired(Table table) | final protected void | setEffectedRowCount(int count) | final protected void | setResultSet(ResultSet rset) If subclasses create a
org.axiondb.jdbc.AxionResultSet upon execution, they
should set it here so that they can support
BaseAxionCommand.execute . | protected void | updateGeneratedValues(Database db, Table table, TableIdentifier tableId, Row row) |
bindAll | public void bindAll(Object[] vals) throws AxionException(Code) | | Sets the values of all bind variable within this command.
Parameters: index - the one-based index of the variable Parameters: value - the value to bind the variable to |
buildBindVariables | protected void buildBindVariables()(Code) | | |
clearBindings | public void clearBindings() throws AxionException(Code) | | Clears all bind variables within this command.
|
createResolveSelectableVisitor | final protected void createResolveSelectableVisitor(Database db)(Code) | | |
getBindVariableIterator | protected Iterator getBindVariableIterator()(Code) | | Returns an
Iterator over all my
BindVariable s, in the proper
order. Default impl returns empty iterator.
|
getBindVariables | public List getBindVariables()(Code) | | |
getEffectedRowCount | final public int getEffectedRowCount()(Code) | | |
setDeferAllConstraintIfRequired | protected void setDeferAllConstraintIfRequired(Table table)(Code) | | |
setEffectedRowCount | final protected void setEffectedRowCount(int count)(Code) | | If sublasses return a number of rows effected, then upon execution, they should set
that number here so it can support
BaseAxionCommand.execute |
|
|