You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chuck May edited this page Apr 14, 2015
·
7 revisions
API
Set<String> getInvolvedSchemas(StringtableId)
Description
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
Examples
Stagingstaging = 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"));