Translator (Custom) Development

Below are the high-level steps for creating custom Translators, which is described in this section. This section will cover how to do each of the following steps in detail. It also provides additional information for advanced topics, such as streaming large objects.

For sample Translator code, refer to the Teiid source code at https://github.com/teiid/teiid/tree/master/connectors/.

  1. Create a new or reuse an existing Resource Adapter for the EIS system, to be used with this Translator. Refer to Custom Resource Adapters.

  2. Decide whether to use the Teiid archetype template to create your initial custom translator project and classes or manually create your environment. Refer to Environment Setup.

  3. Implement the required classes defined by the Translator API. Refer to Implementing the Framework.
    1) Create an ExecutionFactory – Extend the org.teiid.translator.ExecutionFactory class 2) Create relevant Executions (and sub-interfaces) – specifies how to execute each type of command

  4. Define the template for exposing configuration properties. Refer to Packaging.

  5. Deploy your Translator. Refer to Deployment.

  6. Deploy a Virtual Database (VDB) that uses your Translator.

  7. Execute queries via Teiid.

results matching ""

    No results matching ""