Skip to main content

Teiid Embedded Examples

With the revolution of underlying infrastructure transformation, Cloud based platform is popular, and Micro based service is the latest trends.

Teiid Embedded is a light-weight version of Teiid, The Embedded contains almost all Teiid features without heavy EE Container involve, it supply a feasible and convenient way to build Micro service to Cloud.

Start from 8.11.0.Alpha1, Teiid contains a series embedded examples:
  • embedded-portfolio - how to federate data from a relational data source, a text file-based data source           
  • cassandra-as-a-datasourse - using the Cassandra Translator to access table in Cassandra
  • excel-as-a-datasource - using Excel Translator query Excel file with JDBC
  • generic-soap - using the WS Translator to call a generic soap service.
  • hbase-as-a-datasource - using the HBase Translator with Phoenix Data Source to access data in HBase
  • ldap-as-a-datasource - using the ldap Translator to access data in OpenLDAP Server
  • mongodb-as-a-datasource - using the MongoDB Translator to access data in mongodb
  • webservices-as-a-datasource - using the WS Translator to call a REST web services and transform the web service results into relational results
Please feel free to take a look at about examples, any feedback we will appreciated.

Kylin

Comments

Popular posts from this blog

Teiid Spring Boot 1.7.0 Released

Teiid Spring Boot version 1.7.0 to support Teiid 16.0 has been released. This release is mainly to support the Teiid's latest version.  In this release, the support for OpenAPI code generation based on VDB has been removed as there is no community interest and moreover it was at OpenAPI 2.0, and the industry has moved to 3.0 and beyond. There are no plans to further pursue this feature. VDB maven plugin was also removed, which was intended to be a replacement for the VDB importing feature was to be used when working on OpenShift, however, since it requires the Maven repository and does not completely represent the feature as defined on the WildFly based deployments this is also removed. You can still use the VDB import feature with Teiid Spring Boot, simply define the VDB with your "IMPORT DATABASE" statements and provide the additional files along with the main VDB file. During the start of the application, Teiid Spring Boot will load all the necessary DDL files for the ...

Access Teiid from node.js

Are you writing a "node.js" application and would like to access Teiid VDB from it? If "yes", this is currently possible using NPM package "pg" .  Since, Teiid supports the PG transport, you can use this PostgreSQL client for "node.js" for accessing the Teiid. For example if you have VDB called "northwind" deployed on your Teiid server, and it has table called "customers" and you are using default configuration such as user = 'user' password = 'user' host = 127.0.0.1 port = 35432 then you can use following to write simple access program to Teiid var pg = require('pg'); var connectionString = "pg://user:user@localhost:35432/northwind" pg.connect(connectionString, function(err, client) { client.query('SELECT CustomerID, ContactName, ContactTitle FROM Customers', function(err, result) { console.log(result.rows) }); }); If you want ...

Teiid 8.13.3 Released

Teiid 8.13.3 is now  available .  In total 8.13.3 addresses 10 issues since 8.13.2: [ TEIID-4028 ] - adding salesforce-34 resource adapter does not work through the cli [ TEIID-4066 ] - Odata translator ClassNotFoundException: com.sun.ws.rs.ext.RuntimeDelegateImpl [ TEIID-4070 ] - Issues with resource adapters with api modules in wildfly [ TEIID-4089 ] - Teiid JDBC driver does not reset the update count when calling getMoreResults(int) [ TEIID-4093 ] - OData authentication fails with NPE when gss-pattern related properties are included in VDB [ TEIID-4096 ] - AssertionError with independent side of a dependent join that has an ordered limit [ TEIID-3050 ] - allow for more incremental insert with iterator [ TEIID-4075 ] - Netezza translator to support common table expressions [ TEIID-4098 ] - Always preserve columns order in google spreadsheets models [ TEIID-4046 ] - OData - $skip is bee...