Developing Custom Wrappers

Virtual DataPort provides an API to develop custom wrappers. With this API, you can create a connector to query a data source that is not supported by Virtual DataPort.

To create a new Custom wrapper, also called Custom data source, extend the Java abstract class AbstractCustomWrapper (com.denodo.vdb.engine.customwrapper). This abstract class provides a default implementation of the interface CustomWrapper (com.denodo.vdb.engine.customwrapper). Do not implement the interface CustomWrapper.

The following sections explain how to extend the AbstractCustomWrapper class.

Virtual DataPort includes a sample custom wrapper that retrieves data from a Salesforce account. This example is at <DENODO_HOME>/samples/vdp/customWrappers. There is a README file in this directory that explains how to compile, install and use this Custom wrapper.

Once you have developed a custom wrapper and imported it into Virtual DataPort, read the article How to debug Denodo custom extensions with Eclipse <https://community.denodo.com/kb/view/document/How%20to%20debug%20Denodo%20custom%20extensions%20with%20Eclipse> of the Denodo Knowledge Base to learn how to debug it.