... |
Set to a list of modules for the vdb classpath for user defined function loading. See also [Support for User-Defined Functions (Non-Pushdown)]. |
* _security-domain_ Set to the security domain to use if a specific security domain is applicable to the VDB. Otherwise the security domain list from the transport will be used. |
h1. import-vdb Element |
... |
A VDB or virtual database definition is contained in an XML file. For .vdb archive files created in the design tool, this file is embedded in the archive and most fields can be updated through tooling. The XML schema for this file can be found in the docs/teiid/schema directory.
<vdb name="${vdb-name}" version="${vdb-version}"> <!-- VDB properties --> <property name="${property-name}" value="${property-value}" /> <!-- UDF defined in an AS module, see Developers Guide --> <property name ="lib" value ="{module-name}"></property> <import-vdb name="..." version="..." import-data-policies="true|false"/> <!-- define a model fragment for each data source --> <model visible="true" name="${model-name}" type="${model-type}" > <property name="..." value="..." /> <source name="${source-name}" translator-name="${translator-name}" connection-jndi-name="${deployed-jndi-name}"> <metadata type="${repository-type}">raw text</metadata> </model> <!-- define a model with multiple sources - see Multi-Source Models --> <model name="${model-name}" path="/Test/Customers.xmi"> <property name="multisource" value="true"/> . . . <source name="${source-name}" translator-name="${translator-name}" connection-jndi-name="${deployed-jndi-name}"/> <source . . . /> <source . . . /> </model> <!-- see Reference Guide - Data Roles --> <data-role name="${role-name}"> <description>${role-description}</description> …. </data-role> <!-- create translator instances that override default properties --> <translator name="${translator-name}" type="${translator-type}" /> <property name="..." value="..." /> </translator> </vdb>
Attributes
Property Elements
Attributes
Attributes
Source Element
A source is a named binding of a translator and connection source to a model.
Property Elements
Metadata Element
The optional metadata element defines the metadata repository type and optional raw metadata to be consumed by the metadata repository.
Attributes
Property Elements