public class RemountCommand extends BaseAxionCommand
REMOUNT
command, which points the database at
a new location or refresh the external table.Constructor and Description |
---|
RemountCommand() |
Modifier and Type | Method and Description |
---|---|
protected void |
buildBindVariables() |
boolean |
execute(Database db)
Executes an SQL statement that may return multiple results.
|
AxionResultSet |
executeQuery(Database database)
Unsupported
|
int |
executeUpdate(Database database)
Executes an SQL that may add, delete or modify zero or more rows within the
database, such as an INSERT, UPDATE or DELETE statement.
|
boolean |
getDataFilesOnly() |
java.lang.Object |
getDirectory() |
TableIdentifier |
getTable() |
void |
setDataFilesOnly(boolean data) |
void |
setDirectory(Literal dir) |
void |
setDirectory(java.lang.String dir) |
void |
setTable(TableIdentifier table) |
java.lang.String |
toString() |
assertNotReadOnly, attemptToConvertValue, bindAll, clearBindings, createResolveSelectableVisitor, executeQuery, getBindVariableIterator, getBindVariableIterator, getBindVariables, getBindVariableVisitor, getColIdentifierList, getCommitSize, getEffectedRowCount, getResultSet, getRowIterator, makeRowDecorator, populateDefaultValues, populateSequenceColumns, resolveGeneratedColumns, resolveGeneratedColumns, resolveSelectable, resolveSelectable, resolveSelectableList, resolveSelectableList, setBindVariableVisitor, setDeferAllConstraintIfRequired, setEffectedRowCount, setResultSet, updateGeneratedValues
public void setDirectory(java.lang.String dir)
public void setDirectory(Literal dir)
public java.lang.Object getDirectory()
public void setTable(TableIdentifier table)
public TableIdentifier getTable()
public void setDataFilesOnly(boolean data)
public boolean getDataFilesOnly()
public boolean execute(Database db) throws AxionException
AxionCommand
ResultSet
s were generated,
false otherwiseAxionException
Statement.execute(java.lang.String)
,
PreparedStatement.execute()
public AxionResultSet executeQuery(Database database) throws AxionException
ResultSet
AxionException
Statement.executeQuery(java.lang.String)
,
PreparedStatement.executeQuery()
public int executeUpdate(Database database) throws AxionException
AxionCommand
AxionException
Statement.executeUpdate(java.lang.String)
,
PreparedStatement.executeUpdate()
public java.lang.String toString()
toString
in class java.lang.Object
protected void buildBindVariables()
buildBindVariables
in class BaseAxionCommand