类 ETLBase
java.lang.Object
com.sh.wf.etl.compontent.ETLBase
- 直接已知子类:
ETLSource
Description:
Title:首亨软件 - TSS/CRM等
- 从以下版本开始:
- 2017年7月18日
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidvoidcommonParser(org.jdom2.Element nodeEl) getColumnObj(String tableCol) getDbId()intgetId()intgetPkCol()booleanbooleanbooleanbooleanbooleanbooleanabstract voidparser(org.jdom2.Element nodeEl) voidprocessCheckExistSql(ETLContext etlContext, SqlBuilder sb, Datastore ds, RowInfo rowInfo) processExecuteBeforeSql(ETLContext etlContext, String sql, DataCenter toDc, Datastore ds, RowInfo rowInfo) 处理执行前的SQLvoidprocessExecuteBeforeSqlReset(ETLContext etlContext) voidprocessFixColumnObj(ETLContext etlContext, StringBuilder toInsertColSql, StringBuilder toInsertValueSql, StringBuilder toUpdateSql, StringBuilder toUpdateWhereSql, DataCenter toDc) 设置固定列void线条重排序,将主键列排在最后abstract voidrun(ETLContext etlContext) voidsetEtlData(ETLData etlData) voidvoidsetStartNode(boolean isStartNode)
-
字段详细资料
-
etlData
-
id
-
dbId
-
tableName
-
toLineMap
-
isStartNode
protected boolean isStartNode -
pkCol
-
pkDataType
-
pageCol
-
pageDataType
-
pageColValue
-
everyRows
protected int everyRows -
maxSyncRows
protected int maxSyncRows -
javaAttr
-
-
构造器详细资料
-
ETLBase
public ETLBase()
-
-
方法详细资料
-
parser
public abstract void parser(org.jdom2.Element nodeEl) -
commonParser
public void commonParser(org.jdom2.Element nodeEl) -
run
-
addToLine
-
getColumnObj
-
processFixColumnObj
public void processFixColumnObj(ETLContext etlContext, StringBuilder toInsertColSql, StringBuilder toInsertValueSql, StringBuilder toUpdateSql, StringBuilder toUpdateWhereSql, DataCenter toDc) 设置固定列- 参数:
etlContext- ETLContexttoInsertColSql- StringBuildertoInsertValueSql- StringBuildertoUpdateSql- StringBuildertoUpdateWhereSql- StringBuildertoDc- DataCenter
-
processExecuteBeforeSqlReset
-
processExecuteBeforeSql
public String processExecuteBeforeSql(ETLContext etlContext, String sql, DataCenter toDc, Datastore ds, RowInfo rowInfo) 处理执行前的SQL- 参数:
etlContext- ETLContextsql- StringtoDc- DataCenterds- DatastorerowInfo- RowInfo- 返回:
- String
-
processCheckExistSql
public void processCheckExistSql(ETLContext etlContext, SqlBuilder sb, Datastore ds, RowInfo rowInfo) -
reSortLine
public void reSortLine()线条重排序,将主键列排在最后 -
getId
-
setId
-
getEtlData
-
setEtlData
-
isStartNode
public boolean isStartNode() -
setStartNode
public void setStartNode(boolean isStartNode) -
getDbId
-
getTableName
-
isSqlNode
public boolean isSqlNode() -
getPkCol
-
isPkCol
-
getPkDataType
-
getEveryRows
public int getEveryRows() -
getMaxSyncRows
public int getMaxSyncRows() -
isErrorContinue
public boolean isErrorContinue() -
getJavaAttr
-
isHasRepeatCondition
public boolean isHasRepeatCondition() -
isPageColValid
public boolean isPageColValid() -
getPageCol
-
getPageDataType
-
getPageColValue
-