|
5 | 5 | import com.dtstack.chunjun.connector.jdbc.util.JdbcUtil; |
6 | 6 | import com.dtstack.chunjun.constants.Metrics; |
7 | 7 | import com.dtstack.chunjun.enums.ColumnType; |
8 | | -import com.dtstack.chunjun.metrics.BigIntegerAccmulator; |
| 8 | +import com.dtstack.chunjun.metrics.BigIntegerAccumulator; |
9 | 9 | import com.dtstack.chunjun.metrics.StringAccumulator; |
10 | 10 | import com.dtstack.chunjun.source.format.BaseRichInputFormat; |
11 | 11 | import com.dtstack.chunjun.throwable.ReadRecordException; |
@@ -40,8 +40,8 @@ public class DatabaseBaseRichInputFormat<T, OUT extends RowData> extends BaseRic |
40 | 40 | /** 用户脚本中填写的字段类型集合 */ |
41 | 41 | protected StringAccumulator maxValueAccumulator; |
42 | 42 |
|
43 | | - protected BigIntegerAccmulator endLocationAccumulator; |
44 | | - protected BigIntegerAccmulator startLocationAccumulator; |
| 43 | + protected BigIntegerAccumulator endLocationAccumulator; |
| 44 | + protected BigIntegerAccumulator startLocationAccumulator; |
45 | 45 | // 轮询增量标识字段类型 |
46 | 46 | protected ColumnType type; |
47 | 47 | private ServiceProcessor<T, OUT> processor; |
@@ -104,8 +104,8 @@ protected void initMetric(InputSplit inputSplit) { |
104 | 104 | } |
105 | 105 | // 初始化增量、轮询字段类型 |
106 | 106 | type = ColumnType.fromString(jdbcConf.getIncreColumnType()); |
107 | | - startLocationAccumulator = new BigIntegerAccmulator(); |
108 | | - endLocationAccumulator = new BigIntegerAccmulator(); |
| 107 | + startLocationAccumulator = new BigIntegerAccumulator(); |
| 108 | + endLocationAccumulator = new BigIntegerAccumulator(); |
109 | 109 | String startLocation = StringUtil.stringToTimestampStr(jdbcConf.getStartLocation(), type); |
110 | 110 |
|
111 | 111 | if (StringUtils.isNotEmpty(jdbcConf.getStartLocation())) { |
|
0 commit comments