com.scudata.ide.spl.etl.element.FCursor 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.ParamInfo;
import com.scudata.ide.spl.etl.ParamInfoList;
/**
* ?????????༭ f.cursor()
* ??????ǰF??ʾ?ļ?????
*
* @author Joancy
*
*/
public class FCursor extends FImport {
public boolean x;
/**
* ??ȡ???ڽ???༭?IJ?????Ϣ?б?
*/
public ParamInfoList getParamInfoList() {
ParamInfoList paramInfos = super.getParamInfoList();
ParamInfo.setCurrent(FCursor.class, this);
String group = "options";
paramInfos.add(group, new ParamInfo("x", Consts.INPUT_CHECKBOX));
return paramInfos;
}
/**
* ??ȡ?ú????ķ???????
* @return EtlConsts.TYPE_CURSOR
*/
public byte getReturnType() {
return EtlConsts.TYPE_CURSOR;
}
/**
* ??ȡ????????SPL????ʽ?ĺ?????
*/
public String getFuncName(){
return "cursor";
}
/**
* ??ȡ????????SPL????ʽ??ѡ?
*/
public String optionString(){
StringBuffer options = new StringBuffer();
options.append(super.optionString());
if(x){
options.append("x");
}
return options.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy