| java.lang.Object org.apache.derbyTesting.functionTests.util.ConsistencyChecker
ConsistencyChecker | public class ConsistencyChecker (Code) | | This class provides static methods for checking the consistency of database
objects like tables.
|
Method Summary | |
public static String | countDependencies() Check to make sure that there are no active dependencies (stored or
in memory).
String If an inconsistency is found, and if DEBUG is on, then a string will be returned with more info. | public static String | countOpens() Check to make sure that there are no open conglomerates, scans or sorts.
String If an inconsistency is found, and if DEBUG is on, then a string will be returned with more info. | public static String | runConsistencyChecker() Run all of the consistency checkers which do not take parameters.
Actually, just run the ones that "make sense" to run. |
countDependencies | public static String countDependencies() throws StandardException, java.sql.SQLException(Code) | | Check to make sure that there are no active dependencies (stored or
in memory).
String If an inconsistency is found, and if DEBUG is on, then a string will be returned with more info. If DEBUG is off, then a simple string will be returned stating whether or not there are open scans. exception: StandardException - Thrown on error exception: java.sql.SQLException - Thrown on error |
countOpens | public static String countOpens() throws StandardException(Code) | | Check to make sure that there are no open conglomerates, scans or sorts.
String If an inconsistency is found, and if DEBUG is on, then a string will be returned with more info. If DEBUG is off, then a simple string will be returned stating whether or not there are open scans. exception: StandardException - Thrown on error |
runConsistencyChecker | public static String runConsistencyChecker() throws StandardException, java.sql.SQLException(Code) | | Run all of the consistency checkers which do not take parameters.
Actually, just run the ones that "make sense" to run. Today,
that is:
countOpens()
String If an inconsistency is found, and if DEBUG is on, then a string will be returned with more info. If DEBUG is off, then a simple string will be returned stating whether or not there are open scans. exception: StandardException - Thrown on error exception: java.sql.SQLException - Thrown on error |
|
|