public class BridgeQC extends Object
The script produces a report on stdout, lines starting with "INFO" are strictly informative, whereas lines starting with "WARNING" are problems worth investigating further. Ideally there are no "WARNING" lines in the report.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BridgeQC.PropertyChecker |
| Modifier and Type | Method and Description |
|---|---|
void |
checkDatabaseSanity() |
void |
compareAttributes() |
void |
compareDataSources() |
void |
compareFileSizes() |
void |
compareInfo() |
void |
compareLinks() |
void |
initDatabases() |
static void |
main(String[] args) |
static void |
printUsage() |
void |
run() |
static boolean |
safeEquals(Object a,
Object b) |
public BridgeQC(File f1, File f2) throws IDMapperException
IDMapperExceptionpublic void initDatabases()
throws IDMapperException
IDMapperExceptionpublic void compareDataSources()
throws IDMapperException
IDMapperExceptionpublic void compareLinks()
throws SQLException
SQLExceptionpublic void checkDatabaseSanity()
throws SQLException
SQLExceptionpublic void compareFileSizes()
throws SQLException
SQLExceptionpublic void compareAttributes()
throws IDMapperException
IDMapperExceptionpublic void compareInfo()
public void run()
throws IDMapperException,
SQLException
IDMapperExceptionSQLExceptionpublic static void printUsage()
public static void main(String[] args) throws IDMapperException, SQLException
args - IDMapperExceptionSQLExceptionCopyright © 2006–2020 BridgeDb project. All rights reserved.