public java.lang.String getTable(
java.lang.String pMode,
java.lang.String pProperty,
java.lang.String pLocation)
public java.lang.String getTable(
java.lang.String pProperty,
java.lang.String pLocation)
public java.lang.String getTable(
java.lang.String pProperty)
Allows the retrieval of the full name of temporary and permanent tables handled by odi.
Parameter |
Type |
Description | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
pMode |
String |
"L" uses the local object mask to build the complete path of the object. This value is used when pMode is not specified. "R" uses the object mask to build the complete path of the object "A" Automatic. Defines automatically the adequate mask to use. | ||||||||||||||||||||||||||||||||||||||||||||
pProperty |
String |
Parameter that indicates the name of the table to be built. The list of possible values is provided hereafter:
| ||||||||||||||||||||||||||||||||||||||||||||
pLocation |
String |
|
If you have defined the following elements:
physical schema: Pluton.db_odi.dbo
Data catalog: |
db_odi |
Data schema: |
dbo |
Work catalog: |
tempdb |
Work schema: |
temp_owner |
Local Mask: |
%CATALOG.%SCHEMA.%OBJECT |
Remote mask: |
%DSERVER:%CATALOG.%SCHEMA.%OBJECT |
Loading prefix: |
CZ_ |
Error prefix: |
ERR_ |
Integration prefix: |
I$_ |
and you have associated this physical schema to the logical schema: MSSQL_ODI in your context CTX_DEV
and you table is named CUSTOMER
A call to |
Returns |
---|---|
<%=odiRef.getTable("L", "COLL_NAME", "W")%> |
tempdb.temp_owner.CZ_0CUSTOMER |
<%=odiRef.getTable("R", "COLL_NAME", "D")%> |
MyServer:db_odi.dbo.CZ_0CUSTOMER |
<%=odiRef.getTable("L", "INT_NAME", "W")%> |
tempdb.temp_owner.I$_CUSTOMER |
<%=odiRef.getTable("R", "ERR_NAME", "D")%> |
MyServer:db_odi.dbo.ERR_CUSTOMER |