|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.informatica.powercenter.sdk.mapfwk.core.Table com.informatica.powercenter.sdk.mapfwk.core.Transformation com.informatica.powercenter.sdk.mapfwk.core.DSQTransformation
public class DSQTransformation
Class that provides the Source Qualifier transformation functionality by
implementing the Transform
interface.
When you add a relational or a flat file source definition to a mapping, you need to connect it to a Source Qualifier transformation. The Source Qualifier transformation represents the rows that the PowerCenter Server reads when it runs a session.
DSQTransformation is always created using Source object. The snippet code shows how to create DSQTransformation,
//create an Aggregation Transformation using the constructor given below: DSQTransformation dsqTransform = new DSQTransformation( "DsqTrans", "DsqTrans", "This is a DSQ transformation", "DsqTrans" ); //Apply the Transformation dsqTransform.apply(); //get the first rowset as Aggregate always returns a RowSet RowSet outRowSet = (RowSet) outputSet.getRowSets().get( 0 );
Field Summary |
---|
Fields inherited from class com.informatica.powercenter.sdk.mapfwk.core.Transformation |
---|
m_templateID, m_templateName, m_transformFieldAttr, sessionTransformInst |
Fields inherited from class com.informatica.powercenter.sdk.mapfwk.core.Table |
---|
m_bReusable, m_readOnly |
Constructor Summary | |
---|---|
DSQTransformation()
Default constructor |
|
DSQTransformation(java.lang.String name,
java.lang.String busName,
java.lang.String desc,
java.lang.String instName)
Initialize the object with name, business name, description and instance name |
Method Summary | |
---|---|
OutputSet |
apply()
Apply the Transformation. |
void |
setBusinessName(java.lang.String businessName)
Overrides the default method to replace special charecters in the business name. |
void |
setInstanceName(java.lang.String instanceName)
Overrides the default method to replace special charecters in the instance name. |
void |
setName(java.lang.String name)
Overrides the default method to replace special charecters in the name. |
Methods inherited from class com.informatica.powercenter.sdk.mapfwk.core.Transformation |
---|
add, addInitProp, defaultDuplicateNameRemovalSchema, genOutputSet, getGroupSet, getInitProps, getMapping, getOutFields, getOutputSet, getProperties, getSessionTransformInstanceKeySet, getSessionTransformInstanceProperty, getTemplateID, getTemplateName, getTransContext, getTransformationFieldAttr, getTransformationType, getTransformGroup, setGroupSet, setGroupSet, setMapping, setOutFields, setOutputSet, setReusable, setSessionTransformInstanceProperty, setTemplateIDAndName, setTransContext, setTransformationFieldAttr, setTransformationType, setTransformGroup, standardizeString |
Methods inherited from class com.informatica.powercenter.sdk.mapfwk.core.Table |
---|
addField, addMetaExtension, getBusinessName, getDescription, getField, getFields, getInstanceName, getMetaExtensions, getName, getReferencedField, isReadOnly, isReusable, removeField, removeMetaExtension, setDescription, setFields, setMetaExtensions, setMetaExtensionValue, setReadOnly |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DSQTransformation()
public DSQTransformation(java.lang.String name, java.lang.String busName, java.lang.String desc, java.lang.String instName)
name
- name of the tablebusName
- business namedesc
- descriptioninstName
- instance nameMethod Detail |
---|
public void setName(java.lang.String name)
setName
in class Table
name
- Name to be setpublic void setBusinessName(java.lang.String businessName)
setBusinessName
in class Table
businessName
- Business Name to be setpublic void setInstanceName(java.lang.String instanceName)
setInstanceName
in class Table
instanceName
- Instance Name to be setpublic OutputSet apply() throws InvalidTransformationException
InvalidTransformationException
- exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |