-
Notifications
You must be signed in to change notification settings - Fork 4
getInvolvedSchemas
Chuck May edited this page Apr 14, 2015
·
7 revisions
Set<String> getInvolvedSchemas(String tableId)
Return a Set
of schema identifiers which a table is used in.
A schema can use a table in the following places:
- schema selection
- input validation
- an an inclusion/exclusion for a mapping
- the table path of a mapping
Staging staging = Staging.getInstance(CsDataProvider.getInstance(CsVersion.v020550));
// get all schemas which use the table "ssf1_jpd"
Set<String> schemas = staging.getInvolvedSchemas("ssf1_jpd");
Assert.assertEquals(3, schemas.size());
Assert.assertTrue(schemas.contains("kidney_renal_pelvis"));
Assert.assertTrue(schemas.contains("bladder"));
Assert.assertTrue(schemas.contains("urethra"));
Supported Algorithms
Getting Started
API Documentation
- findMatchingTableRow
- getInputs
- getInvolvedSchemas
- getInvolvedTables
- getOutputs
- getSchema
- getSchemaIds
- getTable
- getTableIds
- isCodeValid
- isValidHistology
- isValidSite
- lookupSchema
- stage
Technical Specifications