public interface DerivedTable extends Table
A derived table is a virtual table in the data foundation that combines other tables using calculations and functions. See the Information Design Tool User Guide for more information.
Use:
DataFoundationFactory.createDerivedTable(String, String, DataFoundation) to instantiate a derived table for a data foundation.DataFoundationFactory.createDerivedTable(String, String, String, MultiSourceDataFoundation) to instantiate a derived table for a multisource-enabled data foundation.The following features are supported:
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getExpression()
Returns the value of the 'Expression' attribute.
|
java.lang.String |
getSourceShortName()
Returns the value of the 'Source Short Name' attribute.
|
void |
setExpression(java.lang.String value)
Sets the value of the '
Expression' attribute. |
void |
setSourceShortName(java.lang.String value)
Sets the value of the '
Source Short Name' attribute. |
getColumns, getDataFoundation, getDescription, setDescriptiongetIdentifiergetInheritedDatajava.lang.String getExpression()
This is the SQL expression of the derived table.
setExpression(String)void setExpression(java.lang.String value)
Expression' attribute.
This is the SQL expression of the derived table. The list of columns will be recalculated only if it has been emptied using .
Table.getColumns().clear()
value - the new value of the 'Expression' attribute.getExpression()java.lang.String getSourceShortName()
"".
This string identifies the data source on which the query must be executed. In the case of a single-source data foundation, the methods returns an empty string. Use this method only for multisource-enabled data foundations:
DataFederatorSourceInfo.getShortName()setSourceShortName(String)void setSourceShortName(java.lang.String value)
Source Short Name' attribute.
Use this method to change the data source on which the derived table is based.
value - the new value of the 'Source Short Name' attribute.getSourceShortName()