public class CallScriptCmd extends CustomizableCommand
There are APIs to customize the following information that define a call script command:
AbstractSyntaxTree.LogCounterPIG_PROPKEY_REGISTER_PATHS| Modifier and Type | Method and Description |
|---|---|
java.util.List |
getInputAttrNamesList()
Gets lists of attribute names.
|
java.util.List |
getInputExprsList()
Gets the lists of input expressions, one list for each input connector point.
|
java.lang.String |
getScriptContent()
Gets the content for the script to be called.
|
java.util.List |
getTgtAttrNames()
Gets names for target attributes
|
CommandType |
getTypeEnum()
Gets the enumeration command type.
|
boolean |
isDecorator()
Gets if this command is a decorator.
|
boolean |
isSelector()
Gets if this command is a selector.
|
void |
setInputAttrNamesListp(java.util.List inputAttrNamesList)
Sets input attribute names.
|
void |
setInputExprsList(java.util.List inputExprsList)
Sets lists of input expressions.
|
void |
setScriptContent(java.lang.String pigScriptContent)
Sets the content for the script.
|
void |
setTgtAttrNames(java.util.List tgtAttrNames)
Sets names for target attributes.
|
addPlaceHolderKey, beginCustomizePlaceholderValues, beginLogicalCustomization, getPropertyValue, removePlaceholderKey, setPlaceholderValueaddSourceAlias, calculateOutputSchema, clearSourceAliases, convertExprs, getChildren, getExpressions, getExprText, getExprText, getParentScript, getPhysicalNode, getPlaceholderKeys, getPlaceholderMap, getSourceAlias, getSourceAliases, getTargetAlias, getTemplateSubstitutionMap, getText, getType, setParentScript, setSourceAlias, setSourceAliases, setTargetAlias, toStringgetCodeGenerationTemplate, getCodeGenerationTemplateName, getCustomTemplate, getKMName, getLeafLevelChildren, getMapPhysicalNode, getOrder, getParentAST, getParentOfType, getSourceLanguage, getSourceLocation, getSourceTechnology, getSourceText, getTargetLanguage, getTargetLocation, getTargetTechnology, getTargetText, hasCustomTemplate, hasSourceAndTargetText, isLeafLevelNode, isPushFromSourcepublic CommandType getTypeEnum()
CommandgetTypeEnum in class Commandpublic boolean isSelector()
CommandisSelector in class Commandpublic boolean isDecorator()
CommandisDecorator in class Commandpublic java.util.List getInputExprsList()
public void setInputExprsList(java.util.List inputExprsList)
inputExprsList - lists of input expressions to be set.public java.util.List getInputAttrNamesList()
public void setInputAttrNamesListp(java.util.List inputAttrNamesList)
inputAttrNamesList - lists of input attribute names, one for each input connector point.public java.util.List getTgtAttrNames()
public void setTgtAttrNames(java.util.List tgtAttrNames)
tgtAttrNames - target attribute names to be set.public java.lang.String getScriptContent()
public void setScriptContent(java.lang.String pigScriptContent)
pigScriptContent - the content of the script to be called by this command.