|
h5. 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/]. # Create a new or reuse an existing Resource Adapter for the EIS system, to be used with this Translator. Refer to [Custom Resource Adapters|#Custom Resource Adapters]. # Use the Teiid archetype template to create your initial custom translator project and classes # Implement the required classes defined by the Translator API. # Create an ExecutionFactory – Extend the {{org.teiid.translator.ExecutionFactory}} class # Create relevant Executions \(and sub\-interfaces) – specifies how to execute each type of command Refer to. # Define the template for exposing configuration properties. Refer to [Packaging]. # Deploy your Translator. Refer to [Deployment]. # Deploy a Virtual Database \(VDB) that uses your Translator. # Execute queries via Teiid. |
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/.