com.informatica.powercenter.sdk.mapfwk.core
Class DSQTransformation

java.lang.Object
  extended by com.informatica.powercenter.sdk.mapfwk.core.Table
      extended by com.informatica.powercenter.sdk.mapfwk.core.Transformation
          extended by com.informatica.powercenter.sdk.mapfwk.core.DSQTransformation
All Implemented Interfaces:
Transform
Direct Known Subclasses:
ASQTransformation

public class DSQTransformation
extends Transformation

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

DSQTransformation

public DSQTransformation()
Default constructor


DSQTransformation

public 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

Parameters:
name - name of the table
busName - business name
desc - description
instName - instance name
Method Detail

setName

public void setName(java.lang.String name)
Overrides the default method to replace special charecters in the name.

Overrides:
setName in class Table
Parameters:
name - Name to be set

setBusinessName

public void setBusinessName(java.lang.String businessName)
Overrides the default method to replace special charecters in the business name.

Overrides:
setBusinessName in class Table
Parameters:
businessName - Business Name to be set

setInstanceName

public void setInstanceName(java.lang.String instanceName)
Overrides the default method to replace special charecters in the instance name.

Overrides:
setInstanceName in class Table
Parameters:
instanceName - Instance Name to be set

apply

public OutputSet apply()
                throws InvalidTransformationException
Apply the Transformation.

Returns:
OutputSet object
Throws:
InvalidTransformationException - exception