com.scudata.ide.spl.etl.element.ADelete Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of esproc Show documentation
Show all versions of esproc Show documentation
SPL(Structured Process Language) A programming language specially for structured data computing.
package com.scudata.ide.spl.etl.element;
import com.scudata.chart.Consts;
import com.scudata.ide.spl.etl.EtlConsts;
import com.scudata.ide.spl.etl.ObjectElement;
import com.scudata.ide.spl.etl.ParamInfo;
import com.scudata.ide.spl.etl.ParamInfoList;
/**
* ?????????༭ A.delete()
* ??????ǰA??ʾ???
*
* @author Joancy
*
*/
public class ADelete extends ObjectElement {
public String exp;
public boolean n;
/**
* ??ȡ???ڽ???༭?IJ?????Ϣ?б?
*/
public ParamInfoList getParamInfoList() {
ParamInfoList paramInfos = new ParamInfoList();
ParamInfo.setCurrent(ADelete.class, this);
paramInfos.add(new ParamInfo("exp",true));
String group = "options";
paramInfos.add(group, new ParamInfo("n", Consts.INPUT_CHECKBOX));
return paramInfos;
}
/**
* ??ȡ??????
* ???͵ij???????Ϊ
* EtlConsts.TYPE_XXX
* @return ǰA??ͷ?ĺ???????????EtlConsts.TYPE_SEQUENCE
*/
public byte getParentType() {
return EtlConsts.TYPE_SEQUENCE;
}
/**
* ??ȡ?ú????ķ???????
* @return EtlConsts.TYPE_SEQUENCE
*/
public byte getReturnType() {
return EtlConsts.TYPE_SEQUENCE;
}
/**
* ??ȡ????????SPL????ʽ??ѡ?
*/
public String optionString(){
StringBuffer options = new StringBuffer();
if(n){
options.append("n");
}
return options.toString();
}
/**
* ??ȡ????????SPL????ʽ?ĺ?????
*/
public String getFuncName() {
return "delete";
}
/**
* ??ȡ????????SPL????ʽ?ĺ?????
* ??setFuncBody???溯????Ȼ?????ʽ?ĸ?ֵҲ???ǻ????
*/
public String getFuncBody() {
return getNumberExp(exp);
}
/**
* ???ú?????
* @param funcBody ??????
*/
public boolean setFuncBody(String funcBody) {
exp = getNumber(funcBody);
return true;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy