-
Notifications
You must be signed in to change notification settings - Fork 2
getInvolvedTables
halla edited this page Nov 2, 2017
·
1 revision
public HashSet<String> getInvolvedTables(String definitionId)
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
TNMStagingCSharp.Src.Staging.Staging staging = TNMStagingCSharp.Src.Staging.Staging.getInstance(CsDataProvider.getInstance(CsVersion.v020550));
// get all tables used in the "brain" schema"
HashSet<String> tables = staging.getInvolvedTables("brain");
Assert.AreEqual(61, tables.Count);
Assert.IsTrue(tables.Contains("schema_selection_brain"));
Assert.IsTrue(tables.Contains("ssf7_sqk"));
Assert.IsTrue(tables.Contains("ajcc6_n_codes"));
Assert.IsTrue(tables.Contains("ssf18_snm"));
Assert.IsTrue(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