|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axiondb.engine.commands.BaseAxionCommand
org.axiondb.engine.commands.CheckFileStateCommand
public class CheckFileStateCommand
A CHECKFILESTATE query. Generates a non-empty ResultSet
if the database's files are accessible, an empty one otherwise.
| Constructor Summary | |
|---|---|
CheckFileStateCommand()
|
|
| Method Summary | |
|---|---|
AxionResultSet |
createFailureResultSet()
|
AxionResultSet |
createSuccessResultSet()
|
boolean |
execute(Database db)
Executes an SQL statement that may return multiple results. |
AxionResultSet |
executeQuery(Database db)
Executes an SQL statement that returns a single read-only ResultSet object such as a SELECT statement. |
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. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CheckFileStateCommand()
| Method Detail |
|---|
public boolean execute(Database db)
throws AxionException
AxionCommand
ResultSets were generated,
false otherwise
AxionExceptionStatement.execute(java.lang.String),
PreparedStatement.execute()
public AxionResultSet executeQuery(Database db)
throws AxionException
AxionCommandResultSet object such as a SELECT statement.
ResultSet
AxionExceptionStatement.executeQuery(java.lang.String),
PreparedStatement.executeQuery()public AxionResultSet createSuccessResultSet()
public AxionResultSet createFailureResultSet()
public int executeUpdate(Database database)
throws AxionException
AxionCommand
AxionExceptionStatement.executeUpdate(java.lang.String),
PreparedStatement.executeUpdate()public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||