-
Summary:
CheckIn:Fix
bugzilla bug 166008,166009,166295.
- Bugzilla Bug (s) Resolved:
[166008][166009][166295]
-
Description:
Add new
algorithm to flat file driver, so that it is now behavior as followed:
1.
Filters
defined in column mapping are now worked on column level rather than row level.
It would not come to be row filter anymore.
2.
If a filter is defined for a column, we will
search all the elements that match the column mapping. Before this check in is
made, we only search first element that matches the column mapping.
3.
We currently still do not support filter on
table mapping. We will support it in future.
4.
We currently only support one filter for each
column mapping, and we plan to support multiple filter for each column mapping
in future.
- Tests Description:
Unit test.
- Files Edited:
"/org.eclipse.datatools.enablement.oda.xml/src/org/eclipse/datatools/enablement/oda/xml/util/RelationInformation.java"
"/org.eclipse.datatools.enablement.oda.xml/src/org/eclipse/datatools/enablement/oda/xml/util/UtilConstants.java"
"/org.eclipse.datatools.enablement.oda.xml/src/org/eclipse/datatools/enablement/oda/xml/util/SaxParserConsumer.java"
"/org.eclipse.datatools.enablement.oda.xml/src/org/eclipse/datatools/enablement/oda/xml/util/SaxParserUtil.java"
"/org.eclipse.datatools.enablement.oda.xml.tests/test/org/eclipse/datatools/enablement/oda/xml/BaseTest.java"
"/org.eclipse.datatools.enablement.oda.xml.tests/test/org/eclipse/datatools/enablement/oda/xml/test/util/TestConstants.java"
"/org.eclipse.datatools.enablement.oda.xml.tests/test/org/eclipse/datatools/enablement/oda/xml/RelationInformationTest.java"
"/org.eclipse.datatools.enablement.oda.xml.tests/test/org/eclipse/datatools/enablement/oda/xml/util/SaxParserTest.java"
- Files Added:
"/org.eclipse.datatools.enablement.oda.xml.tests/test/org/eclipse/datatools/enablement/oda/xml/input/test.xml"
"/org.eclipse.datatools.enablement.oda.xml.tests/test/org/eclipse/datatools/enablement/oda/xml/golden/SaxParserTest.test13.txt"
"/org.eclipse.datatools.enablement.oda.xml.tests/test/org/eclipse/datatools/enablement/oda/xml/golden/SaxParserTest.test14.txt"
- Notes to Build Team:
N/A
- Notes to Developers:
N/A
- Notes to QA:
N/A
- Notes to Documentation:
N/A