-
Notifications
You must be signed in to change notification settings - Fork 4
getInvolvedTables
Chuck May edited this page Apr 14, 2015
·
6 revisions
public Set<String> getInvolvedTables(String schemaId)
Return a Set
of tables identifiers involved in a schema.
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 tables used in the "brain" schema"
Set<String> tables = staging.getInvolvedTables("brain");
Assert.assertEquals(61, tables.size());
Assert.assertTrue(tables.contains("schema_selection_brain"));
Assert.assertTrue(tables.contains("ssf7_sqk"));
Assert.assertTrue(tables.contains("ajcc6_n_codes"));
Assert.assertTrue(tables.contains("ssf18_snm"));
Assert.assertTrue(tables.contains("ajcc7_stage_una"));
Supported Algorithms
Getting Started
API Documentation
- findMatchingTableRow
- getInputs
- getInvolvedSchemas
- getInvolvedTables
- getOutputs
- getSchema
- getSchemaIds
- getTable
- getTableIds
- isCodeValid
- isValidHistology
- isValidSite
- lookupSchema
- stage
Technical Specifications