forked from wgzhao/Addax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoracle2txt.json
60 lines (60 loc) · 1.29 KB
/
oracle2txt.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"job": {
"content": [
{
"reader": {
"name": "oraclereader",
"parameter": {
"password": "password",
"username": "oracle",
"where": "",
"column": [
"BRANCH_NO",
"BRANCH_NAME"
],
"connection": [
{
"jdbcUrl": [
"jdbc:oracle:thin:@127.0.0.1:1521/stage"
],
"table": [
"STGUF.ALLBRANCH"
]
}
]
}
},
"writer": {
"name": "txtfilewriter",
"parameter": {
"column": [
{
"name": "branch_no",
"type": "bigint"
},
{
"name": "col2",
"type": "string",
"value": ""
},
{
"name": "branch_name",
"type": "string"
}
],
"fieldDelimiter": "\u0001",
"fileName": "allbranch",
"path": "/tmp/out",
"writeMode": "truncate"
}
}
}
],
"setting": {
"speed": {
"bytes": -1,
"channel": 10
}
}
}
}