This content has been marked as final.
Show 2 replies
-
1. Re: Get metadata info while query execution
shawkins Feb 7, 2013 1:01 PM (in response to jane_lj)The pushdown query will contain the metadata objects - for example see org.teiid.language.ColumnReference implements MetadataReference<Column>, which means you can call getMetadataObject() to get the Column. If you need metadata outside the scope of your query, then use org.teiid.metadata.RuntimeMetadata instance that is passed in when your Execution is created. It has methods such as getTable(String) that can look up a metadata object based upon the fully qualified Teiid name.
Steve
-
2. Re: Get metadata info while query execution
jane_lj Feb 12, 2013 10:31 AM (in response to shawkins)Thank you, Steven.