|
||||||||||
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.TransformHelper
public class TransformHelper
Helper class to simplify Transformation creation. This helper allows creation
of Transformation
objects on a given Mapping
object.
Constructor Summary | |
---|---|
TransformHelper(Mapping mapping)
Initialize the object with a Mapping object |
|
TransformHelper(Mapplet mapplet)
Initialize the object with a Mapplet object |
Method Summary | |
---|---|
OutputSet |
aggregate(RowSet rowSet,
TransformField transformField,
java.lang.String[] groupBy,
java.lang.String name)
Apply the aggregate transformation on a RowSet by adding a TransformField for a given group by criteria |
OutputSet |
aggregate(RowSet rowSet,
java.util.Vector vTransformField,
java.lang.String[] groupBy,
java.lang.String name)
Apply the aggregate transformation on a RowSet by adding a collection of TransformFields for a given group by criteria |
OutputSet |
aggregate(java.util.Vector vInputSets,
java.util.Vector vTransformFields,
java.lang.String[] groupBy,
java.lang.String name)
Apply the aggregate transformation on a collection of InputSets by adding a collection of TransformFields for a given group by criteria |
OutputSet |
aggregate(java.util.Vector vInputSets,
java.util.Vector vTransformFields,
java.lang.String[] groupBy,
TransformationProperties props,
java.lang.String name)
Apply the aggregate transformation on a collection of InputSets by adding a collection of TransformFields for a given group by criteria and TransformationProperties |
OutputSet |
custom(java.util.Vector vGroupSets,
int transformationType,
java.lang.String name)
Apply the Custom transformation on vector of GroupSet, transformation name and transformation type. |
OutputSet |
custom(java.util.Vector vGroupSets,
int transformationType,
java.lang.String name,
java.lang.String moduleIdetifier,
java.lang.String functionIdetifier,
TransformationProperties properties)
Apply the Custom transformation on vector of GroupSet, transformation name, transformation type, function identifier, module identifier and Transformation properties |
OutputSet |
expression(InputSet inSet,
TransformField transformField,
java.lang.String name)
Apply the expression transformation on a InputSet by adding a TransformField. |
OutputSet |
expression(RowSet rowSet,
TransformField transformField,
java.lang.String name)
Apply the expression transformation on a RowSet by adding a TransformField. |
OutputSet |
expression(RowSet rowSet,
java.util.Vector vTransformField,
java.lang.String name)
Apply the expression transformation on a RowSet by adding a collection of TransformField. |
OutputSet |
expression(java.util.Vector vInputSets,
java.util.Vector vTransformFields,
java.lang.String name)
Apply the expression transformation on a collection of InputSets by adding a collection of TransformFields. |
OutputSet |
expression(java.util.Vector vInputSets,
java.util.Vector vTransformFields,
TransformationProperties props,
java.lang.String name)
Apply the expression transformation on a collection of InputSets by adding a collection of TransformFields and TransformationProperties |
OutputSet |
filter(InputSet inputSetObj,
java.lang.String filterExpr,
java.lang.String name)
Apply the filter transformation using an expression on a InputSet |
OutputSet |
filter(RowSet rowSetObj,
java.lang.String filterExpr,
java.lang.String name)
Apply the filter transformation using an expression on a RowSet |
OutputSet |
filter(java.util.Vector inputSets,
java.lang.String filterExpr,
java.lang.String name)
Apply the filter transformation using an expression on a collection of InputSets |
OutputSet |
filter(java.util.Vector inputSets,
java.lang.String filterExpr,
TransformationProperties properties,
java.lang.String name)
Apply the filter transformation using an expression on a collection of InputSets and properties |
static boolean |
ifExist(java.util.Vector transformField,
java.lang.String fieldName)
This method checks if the field given by fieldname exists in the vector of TransformationField. |
OutputSet |
inputTransform(InputSet inputSetObj,
java.lang.String name)
Apply the input transformation using an expression on a InputSet |
OutputSet |
inputTransform(RowSet rowSetObj,
java.lang.String name)
Apply the input transformation using an expression on a RowSet |
OutputSet |
inputTransform(java.util.Vector inputSets,
java.lang.String name)
Apply the input transformation using an expression on a collection of InputSets |
OutputSet |
inputTransform(java.util.Vector inputSets,
TransformationProperties properties,
java.lang.String name)
Apply the input transformation using an expression on a collection of InputSets and properties |
OutputSet |
join(java.util.Vector vDetailInputSets,
InputSet masterInputSet,
java.lang.String joinCnd,
java.lang.String name)
Apply the joiner transformation on a collection of Detail InputSet's using a given InputSet as a master. |
OutputSet |
join(java.util.Vector vDetailInputSets,
InputSet masterInputSet,
java.lang.String joinCnd,
TransformationProperties properties,
java.lang.String name)
Apply the joiner transformation on a collection of Detail InputSet's using a given InputSet as a master. |
OutputSet |
join(java.util.Vector vDetailRowSets,
RowSet masterRowSet,
java.lang.String joinCnd,
java.lang.String name)
Apply the joiner transformation on a collection of Detail RowSet's using a given RowSet as a master. |
OutputSet |
lookup(InputSet inputSetObj,
SourceTarget sourceTgtObj,
java.lang.String condition,
java.lang.String name)
Apply the lookup transformation on a InputSet using fields from a source for a set of conditions specified as a Lookup condition |
OutputSet |
lookup(RowSet rowSetObj,
SourceTarget sourceTgtObj,
java.lang.String condition,
java.lang.String name)
Apply the lookup transformation on a rowset using fields from a source for a set of conditions specified as a Lookup Condition |
OutputSet |
lookup(java.util.Vector vInputSets,
SourceTarget sourceTgtObj,
java.lang.String condition,
java.lang.String name)
Apply the lookup transformation on a collection of InputSet's using fields from a source for a set of conditions specified as a Lookup condition |
OutputSet |
lookup(java.util.Vector vInputSets,
SourceTarget sourceTgtObj,
java.lang.String condition,
TransformationProperties props,
java.lang.String name)
Apply the lookup transformation on a collection of InputSet's using fields from a source for a set of conditions specified as a Lookup condition along with additional properties |
OutputSet |
mapplet(Mapplet mapplet,
java.util.Vector vInputSets,
java.lang.String instName)
Use the mapplet either as a Transformation or Source. |
OutputSet |
mapplet(java.util.Vector vGroupSets,
int transformationType,
java.lang.String name)
Use the mapplet either as a Transformation or Source. |
OutputSet |
mapplet(java.util.Vector vGroupSets,
java.lang.String name,
java.lang.String instName)
|
OutputSet |
normalizer(java.util.Vector vRecords,
java.util.Vector vFields,
RowSet rowset,
PortLinkContext linkStrategy,
java.lang.String name,
java.lang.String instName)
Create a Normalizer transformation. |
OutputSet |
normalizer(java.util.Vector vRecords,
java.util.Vector vFields,
RowSet rowset,
java.lang.String name,
java.lang.String instName)
Create a Normalizer transformation. |
OutputSet |
outputTransform(InputSet inputSetObj,
java.lang.String name)
Apply the output transformation using an expression on a InputSet |
OutputSet |
outputTransform(RowSet rowSetObj,
java.lang.String name)
Apply the output transformation using an expression on a RowSet |
OutputSet |
outputTransform(java.util.Vector inputSets,
java.lang.String name)
Apply the output transformation using an expression on a collection of InputSets |
OutputSet |
outputTransform(java.util.Vector inputSets,
TransformationProperties properties,
java.lang.String name)
Apply the output transformation using an expression on a collection of InputSets and properties |
OutputSet |
rank(InputSet inputSetObj,
int rank,
java.lang.String rankPort,
java.lang.String[] groupBy,
java.lang.String name)
This method creates a Rank Transformation using an InputSet without specifying a transformation field and using default rank order i.e TOP. |
OutputSet |
rank(InputSet inputSetObj,
int rank,
java.lang.String rankPort,
java.lang.String[] groupBy,
java.lang.String name,
boolean top,
java.util.Vector vTransformField)
This method creates a Rank Transformation using a given set of transformation field and rank order. |
OutputSet |
rank(InputSet inputSetObj,
int rank,
java.lang.String rankPort,
java.lang.String[] groupBy,
java.lang.String name,
boolean top,
java.util.Vector vTransformField,
TransformationProperties properties)
This method creates a Rank Transformation using a given set of transformation properties, transformation field and rank order. |
OutputSet |
rank(InputSet inputSetObj,
int rank,
java.lang.String rankPort,
java.lang.String[] groupBy,
java.lang.String name,
TransformField transformField)
This method creates a Rank Transformation using a transformation field and rank order. |
OutputSet |
rank(RowSet rowSetObj,
int rank,
java.lang.String rankPort,
java.lang.String[] groupBy,
java.lang.String name)
This method creates a Rank Transformation using RowSet without specifying a transformation field and but giving rank order. |
OutputSet |
rank(RowSet rowSetObj,
int rank,
java.lang.String rankPort,
java.lang.String[] groupBy,
java.lang.String name,
boolean top)
This method creates a Rank Transformation using a RowSet without specifying a transformation field and but giving rank order. |
OutputSet |
router(InputSet inputSet,
TransformGroup transGroup,
java.lang.String name)
Apply the Router transformation on an InputSet along with TransformGroup |
OutputSet |
router(InputSet inputSet,
java.util.Vector vTransGroup,
java.lang.String name)
Apply the Router transformation on a InputSet along with collection of TransformGroup objects |
OutputSet |
router(InputSet inputSet,
java.util.Vector vTransGroup,
java.lang.String name,
TransformationProperties properties)
Apply the Router transformation on InputSet along with collection of TransformGroup objects |
OutputSet |
router(RowSet rowSet,
TransformGroup transGroup,
java.lang.String name)
Apply the Router transformation on a RowSet along with TransformGroup object |
OutputSet |
router(RowSet rowSet,
java.util.Vector vTransGroup,
java.lang.String name)
Apply the Router transformation on a RowSet along with collection of TransformGroup objects |
OutputSet |
router(java.util.Vector vInputSets,
java.util.Vector vTransGroup,
java.lang.String name,
TransformationProperties properties)
Apply the Router transformation on a collection of InputSets along with collection of TransformGroup objects |
OutputSet |
sequenceGenerator(java.lang.String name)
Apply the Sequence Generator transformation |
OutputSet |
sequenceGenerator(java.lang.String name,
TransformationProperties properties)
Apply the Sequence Generator transformation with properties |
OutputSet |
sorter(InputSet inputSetObj,
java.lang.String[] sorterPort,
boolean[] ascending,
java.lang.String name)
This method creates a Sorter Transformation using an InputSet as input an array of sorting port and the sort direction. |
OutputSet |
sorter(InputSet inputSetObj,
java.lang.String[] sorterPort,
boolean[] ascending,
java.lang.String name,
TransformationProperties properties,
java.util.Vector vTransformField)
This method creates a Sorter Transformation using an InputSet as Input an array of sorting port and the sort direction, a new transformafield and a set of TransformationProperties. |
OutputSet |
sorter(InputSet inputSetObj,
java.lang.String[] sorterPort,
boolean[] ascending,
java.lang.String name,
TransformField transformField)
This method creates a Sorter Transformation using an InputSet as Input an array of sorting port and the sort direction and a new transformafield. |
OutputSet |
sorter(InputSet inputSetObj,
java.lang.String sorterPort,
boolean ascending,
java.lang.String name)
This method creates a Sorter Transformation using an InputSet as input a sorting port and the sort direction. |
OutputSet |
sorter(RowSet rowSetObj,
java.lang.String[] sorterPort,
boolean[] ascending,
java.lang.String name)
This method creates a Sorter Transformation using a RowSet as input an array of sorting port and the sort direction. |
OutputSet |
sorter(RowSet rowSetObj,
java.lang.String sorterPort,
boolean ascending,
java.lang.String name)
This method creates a Sorter Transformation using a RowSet as input a sorting port and the sort direction. |
OutputSet |
sourceQualifier(ShortCut shortCutObject)
create a source qualifier from a shortcut of source object |
OutputSet |
sourceQualifier(Source source)
Apply the Source Qualifier transformation on a Source object |
OutputSet |
sqlTransformation(InputSet inputSet,
java.util.Vector vTransformFields,
boolean isQueryMode,
int DBType,
boolean isStaticConnection,
boolean isConnectionObjectProvided,
java.lang.String name,
TransformationProperties prop)
Creates a SQL transformation depending on the arguments passed. |
OutputSet |
sqlTransformation(RowSet inputRowSet,
java.util.Vector vTransformFields,
boolean isQueryMode,
int DBType,
boolean isStaticConnection,
boolean isConnectionObjectProvided,
java.lang.String name,
TransformationProperties prop)
Creates a SQL transformation depending on the arguments passed. |
OutputSet |
sqlTransformation(java.util.Vector vInputSets,
java.util.Vector vTransformFields,
boolean isQueryMode,
int DBType,
boolean isStaticConnection,
boolean isConnectionObjectProvided,
java.lang.String name)
Creates a SQL transformation depending on the arguments passed. |
OutputSet |
sqlTransformation(java.util.Vector vInputSets,
java.util.Vector vTransformFields,
boolean isQueryMode,
int DBType,
boolean isStaticConnection,
boolean isConnectionObjectProvided,
java.lang.String name,
TransformationProperties prop)
Creates a SQL transformation depending on the arguments passed. |
OutputSet |
sqlTransformation(java.util.Vector vInputSets,
java.util.Vector vTransformFields,
java.lang.String name)
creates a SQL tranformation using the query mode, Oracle DB and static connection |
OutputSet |
storedProc(InputSet inputSet,
java.util.Vector vTransformFields,
java.lang.String name,
java.lang.String procName)
Apply the Stored Procedure transformation on an InputSet by adding a collection of TransformFields and giving the Stored Proc Name. |
OutputSet |
storedProc(InputSet inputSet,
java.util.Vector vTransformFields,
java.lang.String name,
java.lang.String procName,
TransformationProperties properties)
Apply the Stored Procedure transformation on an InputSet by adding a collection of TransformFields and giving the Stored Proc Name and setting the properties.The InputSet of the Stored Procedure must match the Input Parameters of the Stored procedure. |
OutputSet |
storedProc(RowSet rowSet,
java.lang.String name,
java.lang.String procName)
Apply the Stored Procedure transformation on a RowSet by giving the Stored Proc Name. |
OutputSet |
storedProc(RowSet rowSet,
java.util.Vector vTransformFields,
java.lang.String name,
java.lang.String procName)
Apply the Stored Procedure transformation on a RowSet by adding a collection of TransformFields and giving the Stored Proc Name. |
OutputSet |
transactionControl(InputSet inputSet,
java.util.Vector vTransformFields,
java.lang.String name,
java.lang.String condition,
TransformationProperties properties)
Apply the Transaction Control transformation on a collection of InputSets by adding a collection of TransformFields and TransformationProperties |
OutputSet |
transactionControl(RowSet rowSet,
java.lang.String name,
java.lang.String condition,
TransformationProperties properties)
Apply the Transaction Control transformation on a RowSet. |
OutputSet |
transactionControl(RowSet rowSet,
java.util.Vector vTransformField,
java.lang.String name,
java.lang.String condition,
TransformationProperties properties)
Apply the Transaction Control transformation on a RowSet by adding a collection of TransformFields. |
UnconnectedLookup |
unconnectedLookup(java.lang.String name,
Field returnPort,
java.util.Vector inputFld,
java.lang.String condition,
SourceTarget srtTgt)
Create a UnConnected Lookup transformation that can be referred in other transformations. |
UnconnectedLookup |
unconnectedLookup(java.lang.String name,
java.lang.String bussName,
java.lang.String desc,
Field returnPort,
java.util.Vector inputFld,
TransformationProperties properties,
java.lang.String condition,
SourceTarget srcTgt)
Create a UnConnected lookup transformation that can be referred in other transformations. |
UnconnectedLookup |
unconnectedLookup(java.lang.String name,
java.lang.String bussName,
java.lang.String desc,
java.util.Vector lkpFields,
Field returnPort,
java.util.Vector inputFld,
java.lang.String condition,
SourceTarget srtTgt)
Create a UnConnected lookup transformation that can be referred in other transformations. |
UnconnectedLookup |
unconnectedLookup(java.lang.String name,
java.lang.String bussName,
java.util.Vector lkpFields,
Field returnPort,
java.util.Vector inputFld,
java.lang.String condition,
SourceTarget srtTgt)
Create a UnConnected lookup transformation that can be referred in other transformations. |
OutputSet |
union(InputSet inputSetObj,
RowSet groupFieldSet,
java.lang.String name)
Apply the union transformation on a single InputSet and along with group field RowSet. |
OutputSet |
union(RowSet rowSetObj,
RowSet groupFieldSet,
java.lang.String name)
Apply the union transformation on a single RowSet and along with group field RowSet. |
OutputSet |
union(java.util.Vector inputSets,
RowSet groupFieldSet,
java.lang.String name)
Apply the union transformation on a collection of InputSets and along with group field RowSet. |
OutputSet |
union(java.util.Vector inputSets,
RowSet groupFieldSet,
TransformationProperties properties,
java.lang.String name)
Apply the union transformation on a collection of InputSets and along with group field RowSet and properties. |
OutputSet |
updateStrategy(InputSet inputSetObj,
java.lang.String strategyExpr,
java.lang.String name)
Apply the Update Strategy transformation using an expression on a InputSet |
OutputSet |
updateStrategy(RowSet rowSetObj,
java.lang.String strategyExpr,
java.lang.String name)
Apply the Update Strategy transformation using an expression on a RowSet |
OutputSet |
updateStrategy(java.util.Vector inputSets,
java.lang.String strategyExpr,
java.lang.String name)
Apply the Update Strategy transformation using an expression on a collection of InputSets |
OutputSet |
updateStrategy(java.util.Vector inputSets,
java.lang.String strategyExpr,
TransformationProperties properties,
java.lang.String name)
Apply the Update Strategy transformation using an expression on a collection of InputSets and properties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransformHelper(Mapping mapping)
Mapping
object
mapping
- Mapping objectpublic TransformHelper(Mapplet mapplet)
Mapplet
object
mapplet
- Mapplet objectMethod Detail |
---|
public OutputSet sourceQualifier(Source source) throws InvalidTransformationException
source
- object
InvalidTransformationException
Source
,
InvalidTransformationException
public OutputSet expression(RowSet rowSet, TransformField transformField, java.lang.String name) throws InvalidTransformationException
rowSet
- RowSet objecttransformField
- TransformField objectname
- name of transformation
InvalidTransformationException
TransformField
,
InputSet
,
InvalidTransformationException
public OutputSet expression(RowSet rowSet, java.util.Vector vTransformField, java.lang.String name) throws InvalidTransformationException
rowSet
- RowSet objectvTransformField
- TransformField objectname
- name of transformation
InvalidTransformationException
TransformField
,
InputSet
,
InvalidTransformationException
public OutputSet expression(InputSet inSet, TransformField transformField, java.lang.String name) throws InvalidTransformationException
inSet
- InputSet objecttransformField
- TransformField objectname
- name of transformation
InvalidTransformationException
TransformField
,
InputSet
,
InvalidTransformationException
public OutputSet expression(java.util.Vector vInputSets, java.util.Vector vTransformFields, java.lang.String name) throws InvalidTransformationException
vInputSets
- collection of InputSet objectsvTransformFields
- collection of TransformFields
InvalidTransformationException
TransformField
,
InputSet
,
InvalidTransformationException
public OutputSet expression(java.util.Vector vInputSets, java.util.Vector vTransformFields, TransformationProperties props, java.lang.String name) throws InvalidTransformationException
vInputSets
- collection of InputSet objectsvTransformFields
- collection of TransformFieldsname
- name of transformation
InvalidTransformationException
TransformField
,
InputSet
,
InvalidTransformationException
,
TransformationProperties
public OutputSet aggregate(RowSet rowSet, TransformField transformField, java.lang.String[] groupBy, java.lang.String name) throws InvalidTransformationException
rowSet
- RowSettransformField
- groupBy
- criterianame
- name of transformation
InvalidTransformationException
TransformField
,
InputSet
,
InvalidTransformationException
public OutputSet aggregate(RowSet rowSet, java.util.Vector vTransformField, java.lang.String[] groupBy, java.lang.String name) throws InvalidTransformationException
rowSet
- RowSetvTransformField
- Vector of TransformField objectsgroupBy
- criterianame
- name of transformation
InvalidTransformationException
TransformField
,
InputSet
,
InvalidTransformationException
public OutputSet aggregate(java.util.Vector vInputSets, java.util.Vector vTransformFields, java.lang.String[] groupBy, java.lang.String name) throws InvalidTransformationException
vInputSets
- collection of InputSet'svTransformFields
- collection of TransformField'sgroupBy
- criterianame
- name of transformation
InvalidTransformationException
TransformField
,
InputSet
,
InvalidTransformationException
public OutputSet aggregate(java.util.Vector vInputSets, java.util.Vector vTransformFields, java.lang.String[] groupBy, TransformationProperties props, java.lang.String name) throws InvalidTransformationException
vInputSets
- collection of InputSet'svTransformFields
- collection of TransformField'sgroupBy
- group by criterianame
- name of transformationprops
- TransformationProperties
InvalidTransformationException
TransformField
,
InputSet
,
InvalidTransformationException
,
TransformationProperties
public OutputSet filter(RowSet rowSetObj, java.lang.String filterExpr, java.lang.String name) throws InvalidTransformationException
rowSetObj
- RowSet objectfilterExpr
- filter expressionname
- transformation name
InvalidTransformationException
RowSet
,
InvalidTransformationException
public OutputSet filter(InputSet inputSetObj, java.lang.String filterExpr, java.lang.String name) throws InvalidTransformationException
inputSetObj
- RowSet objectfilterExpr
- filter expressionname
- transformation name
InvalidTransformationException
RowSet
,
InvalidTransformationException
public OutputSet filter(java.util.Vector inputSets, java.lang.String filterExpr, java.lang.String name) throws InvalidTransformationException
inputSets
- collection of InputSet'sfilterExpr
- filter expressionname
- name of transformation
InvalidTransformationException
InputSet
,
InvalidTransformationException
public OutputSet filter(java.util.Vector inputSets, java.lang.String filterExpr, TransformationProperties properties, java.lang.String name) throws InvalidTransformationException
inputSets
- collection of InputSet'sfilterExpr
- filter expressionproperties
- TransformationProperties objectname
- name of transformation
InvalidTransformationException
InputSet
,
InvalidTransformationException
public OutputSet lookup(RowSet rowSetObj, SourceTarget sourceTgtObj, java.lang.String condition, java.lang.String name) throws InvalidTransformationException
rowSetObj
- RowSet objectname
- name of transformationsourceTgtObj
- Source objectcondition
- Lookup Condition as a string, eg: ORDER_ID = IN_ORDER_ID
InvalidTransformationException
RowSet
,
Source
,
InvalidTransformationException
public OutputSet lookup(InputSet inputSetObj, SourceTarget sourceTgtObj, java.lang.String condition, java.lang.String name) throws InvalidTransformationException
inputSetObj
- InputSet objectsourceTgtObj
- Source objectcondition
- Lookup Condition as a string, eg: ORDER_ID = IN_ORDER_ID
InvalidTransformationException
InputSet
,
Source
,
InvalidTransformationException
public OutputSet lookup(java.util.Vector vInputSets, SourceTarget sourceTgtObj, java.lang.String condition, java.lang.String name) throws InvalidTransformationException
vInputSets
- collection of InputSet'ssourceTgtObj
- Source objectname
- name of transformationcondition
- Lookup Condition as a string, eg: ORDER_ID = IN_ORDER_ID
InvalidTransformationException
InputSet
,
Source
,
InvalidTransformationException
public OutputSet lookup(java.util.Vector vInputSets, SourceTarget sourceTgtObj, java.lang.String condition, TransformationProperties props, java.lang.String name) throws InvalidTransformationException
vInputSets
- collection of InputSet'ssourceTgtObj
- Source objectcondition
- Lookup Condition as a string, eg: ORDER_ID = IN_ORDER_IDprops
- TransformationProperties
InvalidTransformationException
InputSet
,
Source
,
InvalidTransformationException
,
TransformationProperties
public OutputSet join(java.util.Vector vDetailRowSets, RowSet masterRowSet, java.lang.String joinCnd, java.lang.String name) throws InvalidTransformationException
vDetailRowSets
- collection of RowSet's to be joined - the
collection should not include the master rowsetmasterRowSet
- master RowSetjoinCnd
- String with the join condition, for ex: ORDER_ID =
IN_ORDER_ID
InvalidTransformationException
RowSet
,
InvalidTransformationException
public OutputSet join(java.util.Vector vDetailInputSets, InputSet masterInputSet, java.lang.String joinCnd, java.lang.String name) throws InvalidTransformationException
vDetailInputSets
- collection of InputSet's to be joined - the
collection should not include the master InputSetmasterInputSet
- master InputSetjoinCnd
- String with the join condition, for ex: ORDER_ID =
IN_ORDER_ID
InvalidTransformationException
InputSet
,
InvalidTransformationException
public OutputSet join(java.util.Vector vDetailInputSets, InputSet masterInputSet, java.lang.String joinCnd, TransformationProperties properties, java.lang.String name) throws InvalidTransformationException
vDetailInputSets
- collection of InputSet's to be joined - the
collection should not include the master rowsetmasterInputSet
- master InputSetjoinCnd
- String with the join condition, for ex: ORDER_ID =
IN_ORDER_IDproperties
- TransformationProperties object
InvalidTransformationException
InputSet
,
InvalidTransformationException
,
TransformationProperties
public OutputSet rank(RowSet rowSetObj, int rank, java.lang.String rankPort, java.lang.String[] groupBy, java.lang.String name) throws InvalidTransformationException
rowSetObj
- Field Input to the rankrank
- No of rank that is requiredrankPort
- Port on which to rankgroupBy
- groupBy portsname
- name of the Rank Transformation
InvalidTransformationException
public OutputSet rank(RowSet rowSetObj, int rank, java.lang.String rankPort, java.lang.String[] groupBy, java.lang.String name, boolean top) throws InvalidTransformationException
rowSetObj
- Field Input to the rankrank
- No of rank that is requiredrankPort
- Port on which to rankgroupBy
- groupBy portsname
- name of the Rank Transformationtop
- Rank from TOP or BOTTOM default TOP
InvalidTransformationException
public OutputSet rank(InputSet inputSetObj, int rank, java.lang.String rankPort, java.lang.String[] groupBy, java.lang.String name) throws InvalidTransformationException
inputSetObj
- Field Input to the rankrank
- No of rank that is requiredrankPort
- Port on which to rankgroupBy
- groupBy portsname
- name of the Rank Transformation
InvalidTransformationException
public OutputSet rank(InputSet inputSetObj, int rank, java.lang.String rankPort, java.lang.String[] groupBy, java.lang.String name, TransformField transformField) throws InvalidTransformationException
inputSetObj
- Field Input to the rankrank
- No of rank that is requiredrankPort
- Port on which to rankgroupBy
- groupBy portsname
- name of the Rank TransformationtransformField
- transformfield to be set
InvalidTransformationException
public OutputSet rank(InputSet inputSetObj, int rank, java.lang.String rankPort, java.lang.String[] groupBy, java.lang.String name, boolean top, java.util.Vector vTransformField) throws InvalidTransformationException
inputSetObj
- Field Input to the rankrank
- No of rank that is requiredrankPort
- Port on which to rankgroupBy
- groupBy portsname
- name of the Rank Transformationtop
- Rank from TOP or BOTTOM default TOPvTransformField
- vector of transformfields
InvalidTransformationException
public OutputSet rank(InputSet inputSetObj, int rank, java.lang.String rankPort, java.lang.String[] groupBy, java.lang.String name, boolean top, java.util.Vector vTransformField, TransformationProperties properties) throws InvalidTransformationException
inputSetObj
- Field Input to the rankrank
- No of rank that is requiredrankPort
- Port on which to rankgroupBy
- groupBy portsname
- name of the Rank Transformationtop
- Rank from TOP or BOTTOM default TOPvTransformField
- vector of transformfieldsproperties
- A set of transformation properties.
InvalidTransformationException
public OutputSet updateStrategy(RowSet rowSetObj, java.lang.String strategyExpr, java.lang.String name) throws InvalidTransformationException
rowSetObj
- RowSet objectstrategyExpr
- strategy expressionname
- transformation name
InvalidTransformationException
RowSet
,
InvalidTransformationException
public OutputSet updateStrategy(InputSet inputSetObj, java.lang.String strategyExpr, java.lang.String name) throws InvalidTransformationException
inputSetObj
- RowSet objectstrategyExpr
- strategy expressionname
- transformation name
InvalidTransformationException
RowSet
,
InvalidTransformationException
public OutputSet updateStrategy(java.util.Vector inputSets, java.lang.String strategyExpr, java.lang.String name) throws InvalidTransformationException
inputSets
- collection of InputSet'sstrategyExpr
- strategy expressionname
- name of transformation
InvalidTransformationException
InputSet
,
InvalidTransformationException
public OutputSet updateStrategy(java.util.Vector inputSets, java.lang.String strategyExpr, TransformationProperties properties, java.lang.String name) throws InvalidTransformationException
inputSets
- collection of InputSet'sstrategyExpr
- strategy expressionproperties
- TransformationProperties objectname
- name of transformation
InvalidTransformationException
InputSet
,
InvalidTransformationException
public OutputSet sequenceGenerator(java.lang.String name) throws InvalidTransformationException
name
- name of transformation
InvalidTransformationException
OutputSet
,
InvalidTransformationException
public OutputSet sequenceGenerator(java.lang.String name, TransformationProperties properties) throws InvalidTransformationException
name
- name of transformationproperties
- TransformationProperties object
InvalidTransformationException
OutputSet
,
InvalidTransformationException
public OutputSet sorter(RowSet rowSetObj, java.lang.String sorterPort, boolean ascending, java.lang.String name) throws InvalidTransformationException
rowSetObj
- The Input RowSetsorterPort
- port on which to sortascending
- direction of sortingname
- name of the Transformation
InvalidTransformationException
public OutputSet sorter(RowSet rowSetObj, java.lang.String[] sorterPort, boolean[] ascending, java.lang.String name) throws InvalidTransformationException
rowSetObj
- The Input RowSetsorterPort
- port on which to sortascending
- direction of sortingname
- name of the Transformation
InvalidTransformationException
public OutputSet sorter(InputSet inputSetObj, java.lang.String sorterPort, boolean ascending, java.lang.String name) throws InvalidTransformationException
inputSetObj
- The Input RowSetsorterPort
- port on which to sortascending
- direction of sortingname
- name of the Transformation
InvalidTransformationException
public OutputSet sorter(InputSet inputSetObj, java.lang.String[] sorterPort, boolean[] ascending, java.lang.String name) throws InvalidTransformationException
inputSetObj
- The Input RowSetsorterPort
- port on which to sortascending
- direction of sortingname
- name of the Transformation
InvalidTransformationException
public OutputSet sorter(InputSet inputSetObj, java.lang.String[] sorterPort, boolean[] ascending, java.lang.String name, TransformField transformField) throws InvalidTransformationException
inputSetObj
- The Input RowSetsorterPort
- port on which to sortascending
- direction of sortingname
- name of the TransformationtransformField
- The new transformation field to be used.
InvalidTransformationException
public OutputSet sorter(InputSet inputSetObj, java.lang.String[] sorterPort, boolean[] ascending, java.lang.String name, TransformationProperties properties, java.util.Vector vTransformField) throws InvalidTransformationException
inputSetObj
- The Input RowSetsorterPort
- port on which to sortascending
- direction of sortingname
- name of the TransformationvTransformField
- A new set of transformation field to be used.
InvalidTransformationException
public OutputSet transactionControl(RowSet rowSet, java.lang.String name, java.lang.String condition, TransformationProperties properties) throws InvalidTransformationException
rowSet
- InputSet objectname
- name of transformationcondition
- the Transaction Control Condition
InvalidTransformationException
TransformField
,
InputSet
,
InvalidTransformationException
,
TransformationProperties
public OutputSet transactionControl(RowSet rowSet, java.util.Vector vTransformField, java.lang.String name, java.lang.String condition, TransformationProperties properties) throws InvalidTransformationException
rowSet
- InputSet objectvTransformField
- collection of TransformFieldsname
- name of transformationcondition
- Transaction Control condition
InvalidTransformationException
TransformField
,
InputSet
,
InvalidTransformationException
,
TransformationProperties
public OutputSet transactionControl(InputSet inputSet, java.util.Vector vTransformFields, java.lang.String name, java.lang.String condition, TransformationProperties properties) throws InvalidTransformationException
inputSet
- InputSet objectvTransformFields
- collection of TransformFieldsname
- name of transformationcondition
- Transaction Control condition
InvalidTransformationException
TransformField
,
InputSet
,
InvalidTransformationException
,
TransformationProperties
public OutputSet router(RowSet rowSet, TransformGroup transGroup, java.lang.String name) throws InvalidTransformationException
rowSet
- RowSet objecttransGroup
- Transformgroup objectname
- Transformation name
InvalidTransformationException
- exceptionRowSet
,
TransformGroup
,
InvalidTransformationException
public OutputSet router(RowSet rowSet, java.util.Vector vTransGroup, java.lang.String name) throws InvalidTransformationException
rowSet
- RowSet objectvTransGroup
- vector of TransformGroup objectsname
- Transformation name
InvalidTransformationException
- exceptionRowSet
,
TransformGroup
,
InvalidTransformationException
public OutputSet router(InputSet inputSet, TransformGroup transGroup, java.lang.String name) throws InvalidTransformationException
inputSet
- InputSet objecttransGroup
- Transformgroup objectname
- Transformation name
InvalidTransformationException
- exceptionInputSet
,
TransformGroup
,
InvalidTransformationException
public OutputSet router(InputSet inputSet, java.util.Vector vTransGroup, java.lang.String name) throws InvalidTransformationException
inputSet
- InputSet objectvTransGroup
- Vector of TransformGroupsname
- Transformation name
InvalidTransformationException
- exceptionInputSet
,
TransformGroup
,
InvalidTransformationException
public OutputSet router(InputSet inputSet, java.util.Vector vTransGroup, java.lang.String name, TransformationProperties properties) throws InvalidTransformationException
inputSet
- InputSet objectvTransGroup
- Vector of TransformGroupsname
- Transformation nameproperties
- TransformationProperties object
InvalidTransformationException
- exceptionInputSet
,
TransformGroup
,
InvalidTransformationException
,
TransformationProperties
public OutputSet router(java.util.Vector vInputSets, java.util.Vector vTransGroup, java.lang.String name, TransformationProperties properties) throws InvalidTransformationException
vInputSets
- vTransGroup
- name
- properties
-
InvalidTransformationException
public OutputSet union(RowSet rowSetObj, RowSet groupFieldSet, java.lang.String name) throws InvalidTransformationException
rowSetObj
- RowSet objectgroupFieldSet
- RowSet objectname
- transformation name
InvalidTransformationException
- exceptionRowSet
,
InvalidTransformationException
public OutputSet union(InputSet inputSetObj, RowSet groupFieldSet, java.lang.String name) throws InvalidTransformationException
inputSetObj
- InputSet objectgroupFieldSet
- RowSet objectname
- transformation name
InvalidTransformationException
- exceptionRowSet
,
InputSet
,
InvalidTransformationException
public OutputSet union(java.util.Vector inputSets, RowSet groupFieldSet, java.lang.String name) throws InvalidTransformationException
inputSets
- vector of InputSet objectgroupFieldSet
- RowSet objectname
- transformation name
InvalidTransformationException
- exceptionRowSet
,
InputSet
,
InvalidTransformationException
public OutputSet union(java.util.Vector inputSets, RowSet groupFieldSet, TransformationProperties properties, java.lang.String name) throws InvalidTransformationException
inputSets
- vector of InputSet objectgroupFieldSet
- RowSet objectname
- transformation nameproperties
- TransformationProperties
InvalidTransformationException
- exceptionRowSet
,
InputSet
,
InvalidTransformationException
public OutputSet storedProc(RowSet rowSet, java.lang.String name, java.lang.String procName) throws InvalidTransformationException
rowSet
- InputSet objectname
- name of transformationprocName
- Stored Procedure Name
InvalidTransformationException
RowSet
,
InvalidTransformationException
public OutputSet storedProc(RowSet rowSet, java.util.Vector vTransformFields, java.lang.String name, java.lang.String procName) throws InvalidTransformationException
rowSet
- InputSet objectvTransformFields
- collection of TransformFieldsname
- name of transformationprocName
- Stored Procedure Name
InvalidTransformationException
TransformField
,
RowSet
,
InvalidTransformationException
public OutputSet storedProc(InputSet inputSet, java.util.Vector vTransformFields, java.lang.String name, java.lang.String procName) throws InvalidTransformationException
inputSet
- InputSet objectvTransformFields
- vTransformFields collection of TransformFieldsname
- name of transformationprocName
- Stored Procedure Name
InvalidTransformationException
InputSet
,
InvalidTransformationException
public OutputSet storedProc(InputSet inputSet, java.util.Vector vTransformFields, java.lang.String name, java.lang.String procName, TransformationProperties properties) throws InvalidTransformationException
inputSet
- InputSet objectvTransformFields
- collection of TransformFieldsname
- name of transformationprocName
- Stored Procedure Nameproperties
- TransformationProperties to be set
InvalidTransformationException
TransformField
,
InputSet
,
InvalidTransformationException
,
TransformationProperties
public OutputSet custom(java.util.Vector vGroupSets, int transformationType, java.lang.String name) throws java.lang.Exception
vGroupSets
- vector of GroupSettransformationType
- Transformation type
(TransformationConstants.PASSIVE or
TransformationConstants.ACTIVE)name
- Transformation name
java.lang.Exception
GroupSet
,
TransformationConstants
,
CustomTransformation
public OutputSet mapplet(java.util.Vector vGroupSets, int transformationType, java.lang.String name) throws java.lang.Exception
vGroupSets
- collection of GroupSettransformationType
- Transformation typename
- transformation name
java.lang.Exception
GroupSet
,
OutputSet
public OutputSet custom(java.util.Vector vGroupSets, int transformationType, java.lang.String name, java.lang.String moduleIdetifier, java.lang.String functionIdetifier, TransformationProperties properties) throws java.lang.Exception
vGroupSets
- vector of GroupSettransformationType
- Transformation type
(TransformationConstants.PASSIVE or
TransformationConstants.ACTIVE)name
- Transformation namemoduleIdetifier
- Module identifierfunctionIdetifier
- Function identifierproperties
- Transformation properties
java.lang.Exception
GroupSet
,
TransformationConstants
,
CustomTransformation
public UnconnectedLookup unconnectedLookup(java.lang.String name, Field returnPort, java.util.Vector inputFld, java.lang.String condition, SourceTarget srtTgt)
name
- name of transformationreturnPort
- return port for unconnected transformationinputFld
- collection of input fieldscondition
- lookup conditionsrtTgt
- Source/Target
public UnconnectedLookup unconnectedLookup(java.lang.String name, java.lang.String bussName, java.util.Vector lkpFields, Field returnPort, java.util.Vector inputFld, java.lang.String condition, SourceTarget srtTgt)
name
- name of transformationbussName
- business name of transformationreturnPort
- return port for unconnected transformationinputFld
- collection of input fieldscondition
- lookup conditionsrtTgt
- Source/Target
public UnconnectedLookup unconnectedLookup(java.lang.String name, java.lang.String bussName, java.lang.String desc, java.util.Vector lkpFields, Field returnPort, java.util.Vector inputFld, java.lang.String condition, SourceTarget srtTgt)
name
- name of transformationbussName
- business name of transformationdesc
- descriptionreturnPort
- return port for unconnected transformationinputFld
- collection of input fieldscondition
- lookup conditionsrtTgt
- Source/Target
public UnconnectedLookup unconnectedLookup(java.lang.String name, java.lang.String bussName, java.lang.String desc, Field returnPort, java.util.Vector inputFld, TransformationProperties properties, java.lang.String condition, SourceTarget srcTgt)
name
- name of transformationbussName
- business name of transformationdesc
- descriptionreturnPort
- return port for unconnected transformationinputFld
- input fieldproperties
- transformation propertiescondition
- lookup conditionsrcTgt
- Source/Target
public OutputSet sqlTransformation(java.util.Vector vInputSets, java.util.Vector vTransformFields, java.lang.String name) throws InvalidTransformationException
vInputSets
- Vector of InputSets. Only the first element is used by SQL transformationvTransformFields
- Vector of TransformField objects to be added to transformationname
- name of the transformation
InvalidTransformationException
public OutputSet sqlTransformation(java.util.Vector vInputSets, java.util.Vector vTransformFields, boolean isQueryMode, int DBType, boolean isStaticConnection, boolean isConnectionObjectProvided, java.lang.String name) throws InvalidTransformationException
vInputSets
- Vector of InputSets. Only the first element is used by SQL transformationvTransformFields
- Vector of TransformField objects to be added to transformationisQueryMode
- boolean denoting if the transformation is in query mode. If false, transformation is in script modeDBType
- Database type of connection. Use the static members in SQLTransformation class to set its valueisStaticConnection
- boolean denoting if the connection is static. If false, connection is dynamic.isConnectionObjectProvided
- Used if isStaticConnection is false. If true, then logical connection object has to be passed in.name
- name of the transformation
InvalidTransformationException
public OutputSet sqlTransformation(java.util.Vector vInputSets, java.util.Vector vTransformFields, boolean isQueryMode, int DBType, boolean isStaticConnection, boolean isConnectionObjectProvided, java.lang.String name, TransformationProperties prop) throws InvalidTransformationException
vInputSets
- Vector of InputSets. Only the first element is used by SQL transformationvTransformFields
- Vector of TransformField objects to be added to transformationisQueryMode
- boolean denoting if the transformation is in query mode. If false, transformation is in script modeDBType
- Database type of connection. Use the static members in SQLTransformation class to set its valueisStaticConnection
- boolean denoting if the connection is static. If false, connection is dynamic.isConnectionObjectProvided
- Used if isStaticConnection is false. If true, then logical connection object has to be passed in.name
- name of the transformationprop
- TransformationProperties Object to set the properties of the transformation
InvalidTransformationException
public OutputSet sqlTransformation(InputSet inputSet, java.util.Vector vTransformFields, boolean isQueryMode, int DBType, boolean isStaticConnection, boolean isConnectionObjectProvided, java.lang.String name, TransformationProperties prop) throws InvalidTransformationException
inputSet
- The InputSet to be used by this transformationvTransformFields
- Vector of TransformField objects to be added to transformationisQueryMode
- boolean denoting if the transformation is in query mode. If false, transformation is in script modeDBType
- Database type of connection. Use the static members in SQLTransformation class to set its valueisStaticConnection
- boolean denoting if the connection is static. If false, connection is dynamic.isConnectionObjectProvided
- Used if isStaticConnection is false. If true, then logical connection object has to be passed in.name
- name of the transformationprop
- TransformationProperties Object to set the properties of the transformation
InvalidTransformationException
public OutputSet sqlTransformation(RowSet inputRowSet, java.util.Vector vTransformFields, boolean isQueryMode, int DBType, boolean isStaticConnection, boolean isConnectionObjectProvided, java.lang.String name, TransformationProperties prop) throws InvalidTransformationException
inputRowSet
- RowSet object to be used by the transformation.vTransformFields
- Vector of TransformField objects to be added to transformationisQueryMode
- boolean denoting if the transformation is in query mode. If false, transformation is in script modeDBType
- Database type of connection. Use the static members in SQLTransformation class to set its valueisStaticConnection
- boolean denoting if the connection is static. If false, connection is dynamic.isConnectionObjectProvided
- Used if isStaticConnection is false. If true, then logical connection object has to be passed in.name
- name of the transformationprop
- TransformationProperties Object to set the properties of the transformation
InvalidTransformationException
public static boolean ifExist(java.util.Vector transformField, java.lang.String fieldName)
transformField
- vector of TransformationFieldfieldName
- Name of the Field
public OutputSet inputTransform(RowSet rowSetObj, java.lang.String name) throws InvalidTransformationException
rowSetObj
- RowSet objectname
- transformation name
InvalidTransformationException
RowSet
,
InvalidTransformationException
public OutputSet inputTransform(InputSet inputSetObj, java.lang.String name) throws InvalidTransformationException
inputSetObj
- RowSet objectname
- transformation name
InvalidTransformationException
RowSet
,
InvalidTransformationException
public OutputSet inputTransform(java.util.Vector inputSets, java.lang.String name) throws InvalidTransformationException
inputSets
- collection of InputSet'sname
- name of transformation
InvalidTransformationException
InputSet
,
InvalidTransformationException
public OutputSet inputTransform(java.util.Vector inputSets, TransformationProperties properties, java.lang.String name) throws InvalidTransformationException
inputSets
- collection of InputSet'sproperties
- TransformationProperties objectname
- name of transformation
InvalidTransformationException
InputSet
,
InvalidTransformationException
public OutputSet outputTransform(RowSet rowSetObj, java.lang.String name) throws InvalidTransformationException
rowSetObj
- RowSet objectname
- transformation name
InvalidTransformationException
RowSet
,
InvalidTransformationException
public OutputSet outputTransform(InputSet inputSetObj, java.lang.String name) throws InvalidTransformationException
inputSetObj
- RowSet objectname
- transformation name
InvalidTransformationException
RowSet
,
InvalidTransformationException
public OutputSet outputTransform(java.util.Vector inputSets, java.lang.String name) throws InvalidTransformationException
inputSets
- collection of InputSet'sname
- name of transformation
InvalidTransformationException
InputSet
,
InvalidTransformationException
public OutputSet outputTransform(java.util.Vector inputSets, TransformationProperties properties, java.lang.String name) throws InvalidTransformationException
inputSets
- collection of InputSet'sproperties
- TransformationProperties objectname
- name of transformation
InvalidTransformationException
InputSet
,
InvalidTransformationException
public OutputSet mapplet(Mapplet mapplet, java.util.Vector vInputSets, java.lang.String instName) throws java.lang.Exception
mapplet
- vInputSets
- transformationType
-
java.lang.Exception
public OutputSet mapplet(java.util.Vector vGroupSets, java.lang.String name, java.lang.String instName) throws java.lang.Exception
vGroupSets
- name
- instName
-
java.lang.Exception
public OutputSet normalizer(java.util.Vector vRecords, java.util.Vector vFields, RowSet rowset, java.lang.String name, java.lang.String instName) throws InvalidTransformationException
vRecords
- vFields
- rowset
- name
- instName
-
InvalidTransformationException
public OutputSet normalizer(java.util.Vector vRecords, java.util.Vector vFields, RowSet rowset, PortLinkContext linkStrategy, java.lang.String name, java.lang.String instName) throws InvalidTransformationException
vRecords:
- a vector of normalizer recordsvFields:
- a vector of normalizer fieldsrowset
- linkStrategy
- name
- instName
-
InvalidTransformationException
public OutputSet sourceQualifier(ShortCut shortCutObject) throws InvalidTransformationException
shortCutObject
-
InvalidTransformationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |