13.07.2015 Views

TIBCO MDM Customization Guide - TIBCO Product Documentation

TIBCO MDM Customization Guide - TIBCO Product Documentation

TIBCO MDM Customization Guide - TIBCO Product Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

272 Chapter 12 Setting up Data Extraction|IDataProviderIDataProvider interface should be implemented for data extraction. Concreteimplementation can provide implementation for extracting data from any datasource like RDBMS, data matching engines like Netrics or files. Data Extractorframework will execute IDataProvider concrete implementation for dataextraction. IDataProvider provides the following methods:• init – Invoked only once and should be used for one time initialization such asopening files and so on. Init receives the parameters from web service requestand context.• execute – Should contain the logic to fetch data from the underlying datasources. It should return a Batch Iterator.• getTotalCount – Should return total count of the records to be extracted in theprocess.• getParams – Returns the parameters specified in init.• cleanUp – Invoked only once and should be used clean in the end such asclosing connection and so on.For details on IDataProvider interface, click the Help icon in the <strong>TIBCO</strong> <strong>MDM</strong>application. In the Contents section, click API Reference > Java API ReferencePages. Click the Java API Reference link in the left pane. The detailed descriptionof each class and method in the<strong>TIBCO</strong> <strong>MDM</strong> Java API references are provided.<strong>TIBCO</strong> <strong>MDM</strong> <strong>Customization</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!