|
||||||||||
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.UnconnectedLookup
public class UnconnectedLookup
This class implements the UnConnected Lookup transformation. It extends the
base Transformation
class to provide this functionality. For
Further details see Transformation Guide.
The code snippet for this Transformation is
//create an Unconnected Lookup Transformation using the constructor given below: Vector inputFld = ...; // collection of input fields SourceTarget srcTgt = ...; //SourceTarget object Field returnPort = ...; // the return port object Mapping mapping = ...; // mapping to which the transform should be added TransformationProperties props = ...; // properties String condition = ...; // the transaction control condition UnconnectedLookup uncLkpTrans = new UnconnectedLookup ( "UncLkpTrans", "UncLkpTrans", "This is an Unconnected lookup Transformation", Vector inputFld, returnPort, srcTgt, mapping, props, condition ); //apply the transformation OutputSet outputSet = uncLkpTrans.apply(); //get the first rowset as Unconnected lookup 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 | |
---|---|
UnconnectedLookup(java.lang.String name,
java.lang.String bussName,
java.lang.String desc,
java.util.Vector inputFld,
Field returnPort,
SourceTarget srcTgt)
constructor for unconnected lookup |
|
UnconnectedLookup(java.lang.String name,
java.lang.String bussName,
java.lang.String desc,
java.util.Vector inputFld,
Field returnPort,
SourceTarget srcTgt,
Mapping mapping,
TransformationProperties properties,
java.lang.String condition)
|
|
UnconnectedLookup(java.lang.String name,
java.lang.String bussName,
java.util.Vector inputFld,
Field returnPort,
SourceTarget srcTgt)
constructor for unconnected lookup |
|
UnconnectedLookup(java.lang.String name,
java.util.Vector lkpFields,
Field returnPort,
java.util.Vector inputFld,
SourceTarget srcTgt)
constructor for unconnected lookup |
Method Summary | |
---|---|
OutputSet |
apply()
This method is required to apply the lookup transformation. |
void |
setPortType(Field field,
int portType)
Sets the portType for a given field |
void |
setPortType(java.lang.String fieldName,
int portType)
Sets the port type for a given field |
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, setBusinessName, setDescription, setFields, setInstanceName, setMetaExtensions, setMetaExtensionValue, setName, setReadOnly |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnconnectedLookup(java.lang.String name, java.lang.String bussName, java.util.Vector inputFld, Field returnPort, SourceTarget srcTgt)
name
- bussName
- inputFld
- which is a vector of lookup fieldsreturnPort
- return port for unconnected transformationsrcTgt
- public UnconnectedLookup(java.lang.String name, java.util.Vector lkpFields, Field returnPort, java.util.Vector inputFld, SourceTarget srcTgt)
name
- name of transformationlkpFields
- lookup fieldsreturnPort
- return port for unconnected transformationinputFld
- srcTgt
- public UnconnectedLookup(java.lang.String name, java.lang.String bussName, java.lang.String desc, java.util.Vector inputFld, Field returnPort, SourceTarget srcTgt)
name
- name of transformationbussName
- business name of transformationdesc
- descriptioninputFld
- which is a vector of lookup fieldsreturnPort
- return port for unconnected transformationsrcTgt
- public UnconnectedLookup(java.lang.String name, java.lang.String bussName, java.lang.String desc, java.util.Vector inputFld, Field returnPort, SourceTarget srcTgt, Mapping mapping, TransformationProperties properties, java.lang.String condition)
Method Detail |
---|
public void setPortType(Field field, int portType)
field
- portType
- public void setPortType(java.lang.String fieldName, int portType)
fieldName
- portType
- public OutputSet apply()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |