6 Replies Latest reply on Mar 1, 2012 3:50 PM by Ramesh Reddy

    Dynamic VDB and custom Runtime types

    skethire Newbie

      I am creating a dynamic VDB for my datasource.   I also have a custom MetadataProcessor for my datasource.


      In my custom MetadataProcessor, how do I indicate that a column is a custom type? 


      Can I do:

           metadataFactory.addColumn(colName, "mycustomtype", table)  - is this going to work, or does teiid expect the runtime type to be 'object'  in this case?


      If the above is not possible, should I use Column.setNativeType("mycustomtype")?   If I use this, does Teiid use it or just capture it a metadata for client programs to utilize?


      Is there a better way still?