HANA Reader
HANA Reader plugin implements the ability to read data from SAP HANA.
Example
The following configuration reads this table to terminal:
json
{
"job": {
"setting": {
"speed": {
"bytes": -1,
"channel": 1
}
},
"content": [
{
"reader": {
"name": "hanareader",
"parameter": {
"column": [
"*"
],
"connection": {
"jdbcUrl": "jdbc:sap://wgzhao-pc:39017/system",
"table": [
"addax_tbl"
]
},
"username": "system",
"password": "HXEHana1"
}
},
"writer": {
"name": "streamwriter",
"parameter": {
"print": true
}
}
}
]
}
}Save the above configuration file as job/hana2stream.json
Execute Collection Command
Execute the following command for data collection
bash
bin/addax.sh job/hana2stream.jsonParameters
This plugin is based on RDBMS Reader, so you can refer to all parameters of RDBMS Reader.