public abstract class EasyExpandRunBase
extends cn.benma666.iframe.BasicObject
| 限定符和类型 | 字段和说明 |
|---|---|
protected com.alibaba.fastjson.JSONObject |
configInfo
配置信息
|
protected EasyExpandData |
data |
static String |
HELP_INFO |
protected Object[] |
inputRow
输入数据行
|
protected EasyExpand |
ku
kettleUtil控件
|
protected org.apache.commons.logging.Log |
log |
protected EasyExpandMeta |
meta |
static String |
RETURN_99
返回码99:数据不输出到下一步
|
| 构造器和说明 |
|---|
EasyExpandRunBase()
Creates a new instance of KettleUtilRunBase.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
addField(org.pentaho.di.core.row.RowMetaInterface r,
String name,
int type,
int trimType,
String origin,
String comments)
已过时。
|
protected org.pentaho.di.core.row.ValueMetaInterface |
addField(org.pentaho.di.core.row.RowMetaInterface r,
String name,
int type,
int trimType,
String origin,
String comments,
int length)
添加字段
|
protected cn.benma666.iframe.Result |
dispose(Object[] outputRow)
处理具体每一行数据
|
protected void |
disposeRow(Object[] outputRow)
已过时。
|
protected void |
end()
结束工作
|
com.alibaba.fastjson.JSONObject |
getConfigInfo() |
EasyExpandData |
getData() |
String |
getDefaultConfigInfo(TransMeta transMeta,
String stepName)
获取格式化后的默认JSON配置参数,供使用者方便快捷的修改配置
|
int |
getFieldIndex(String field)
获取输出字段在数组中的下标
|
abstract void |
getFields(org.pentaho.di.core.row.RowMetaInterface r,
String origin,
org.pentaho.di.core.row.RowMetaInterface[] info,
StepMeta nextStep,
org.pentaho.di.core.variables.VariableSpace space)
获取本步骤的输出字段
|
int |
getFieldType(String field)
获取输出字段的类型
|
Object[] |
getInputRow() |
EasyExpand |
getKu() |
EasyExpandMeta |
getMeta() |
String |
getVariavle(String key)
获取参数
|
protected void |
init()
初始化工作
|
boolean |
run()
开始处理每一行数据
|
void |
setConfigInfo(com.alibaba.fastjson.JSONObject configInfo) |
void |
setData(EasyExpandData data) |
void |
setInputRow(Object[] inputRow) |
void |
setKu(EasyExpand ku) |
void |
setMeta(EasyExpandMeta meta,
org.pentaho.di.core.variables.VariableSpace space) |
void |
setVariableRootJob(String variableName,
String variableValue)
设置变量到根作业
|
void |
stopAll()
停止操作
|
protected org.pentaho.di.core.row.ValueMetaInterface |
tjzd(org.pentaho.di.core.row.RowMetaInterface r,
String name,
int type,
int trimType,
String origin,
String comments) |
protected org.apache.commons.logging.Log log
protected EasyExpand ku
protected EasyExpandMeta meta
protected EasyExpandData data
protected Object[] inputRow
protected com.alibaba.fastjson.JSONObject configInfo
public abstract void getFields(org.pentaho.di.core.row.RowMetaInterface r,
String origin,
org.pentaho.di.core.row.RowMetaInterface[] info,
StepMeta nextStep,
org.pentaho.di.core.variables.VariableSpace space)
throws Exception
r - origin - info - nextStep - space - Exceptionpublic boolean run()
throws Exception
org.pentaho.di.core.exception.KettleExceptionExceptionpublic void stopAll()
Exceptionprotected cn.benma666.iframe.Result dispose(Object[] outputRow) throws Exception
outputRow - Exception@Deprecated protected void disposeRow(Object[] outputRow) throws Exception
outputRow - Exceptionpublic String getDefaultConfigInfo(TransMeta transMeta, String stepName) throws Exception
transMeta - stepName - Exception@Deprecated protected void addField(org.pentaho.di.core.row.RowMetaInterface r, String name, int type, int trimType, String origin, String comments)
r - 行name - 字段名称type - 类型trimType - 去除空白规则origin - 宿主comments - 描述protected org.pentaho.di.core.row.ValueMetaInterface tjzd(org.pentaho.di.core.row.RowMetaInterface r,
String name,
int type,
int trimType,
String origin,
String comments)
protected org.pentaho.di.core.row.ValueMetaInterface addField(org.pentaho.di.core.row.RowMetaInterface r,
String name,
int type,
int trimType,
String origin,
String comments,
int length)
r - 行name - 字段名称type - 类型trimType - 去除空白规则origin - 宿主comments - 描述length - 长度public int getFieldIndex(String field)
field - 字段名称ValueMetaInterfacepublic int getFieldType(String field)
field - 字段名称public void setVariableRootJob(String variableName, String variableValue)
variableName - 变量名variableValue - 变量值public EasyExpand getKu()
public void setKu(EasyExpand ku)
ku - the ku to setpublic EasyExpandMeta getMeta()
public void setMeta(EasyExpandMeta meta, org.pentaho.di.core.variables.VariableSpace space)
meta - the meta to setspace - public EasyExpandData getData()
public void setData(EasyExpandData data)
data - the data to setpublic com.alibaba.fastjson.JSONObject getConfigInfo()
public void setConfigInfo(com.alibaba.fastjson.JSONObject configInfo)
configInfo - the configInfo to setpublic Object[] getInputRow()
public void setInputRow(Object[] inputRow)
inputRow - the inputRow to setCopyright © 2024 Hitachi Vantara. All rights reserved.