Out-of-the-Box General Extractors

A base extractor is provided to extend all general extractors. General extractors for typical databases like MySQL, DB2, MSSQL, Oracle, PostgreSQL, and Vertica are provided within the DCS framework. They provide the most common functionality for the extraction. You can customize extractors by extending the base extractor itself.

You can simply define the following extractor_manifest.xml file to use the general SQL extractor:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<extractors>
    <extractor>
      <productName>TEST</productName>
      <dataSourceType>oracle</dataSourceType>
      <productVersion>1.0</productVersion>
<className>com.hp.itba.dwh.extractor.common.sql.SqlExtractor</className>
      <extractorVersion>1.0</extractorVersion>
      <extractorPath>.</extractorPath>
    </extractor>
</extractors>

where dataSourceType can be one of the following: mysql, db2, mssql, oracle, or postgresql.