123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- {
- "about": {
- "trial": true,
- "author": {
- "name": "EMQ",
- "email": "contact@emqx.io",
- "company": "EMQ Technologies Co., Ltd",
- "website": "https://www.emqx.io"
- },
- "helpUrl": {
- "en_US": "https://ekuiper.org/docs/en/latest/guide/sinks/plugin/sql.html",
- "zh_CN": "https://ekuiper.org/docs/zh/latest/guide/sinks/plugin/sql.html"
- },
- "description": {
- "en_US": "This a sink plugin for Sql based Database, it can be used for saving the analysis data into Sql based database.",
- "zh_CN": "本插件为 SQL Database 的持久化插件,可以用于将分析数据存入支持 SQL 语法的数据库中"
- }
- },
- "libs": [
- ],
- "properties": [{
- "name": "url",
- "default": "",
- "optional": false,
- "control": "text",
- "type": "string",
- "hint": {
- "en_US": "The url of the database",
- "zh_CN": "数据库服务器的 URL"
- },
- "label": {
- "en_US": "server address",
- "zh_CN": "数据库地址"
- }
- }, {
- "name": "table",
- "default": "",
- "optional": false,
- "control": "text",
- "type": "string",
- "hint": {
- "en_US": "Table name",
- "zh_CN": "表名"
- },
- "label": {
- "en_US": "Table name",
- "zh_CN": "表名"
- }
- }, {
- "name": "tableDataField",
- "default": "",
- "optional": true,
- "control": "text",
- "type": "string",
- "hint": {
- "en_US": "table Data from Stream Field",
- "zh_CN": "表数据来源"
- },
- "label": {
- "en_US": "Table Data from Stream Field",
- "zh_CN": "表数据来源"
- }
- },
- {
- "name": "rowkindField",
- "default": "",
- "optional": true,
- "control": "text",
- "type": "string",
- "hint": {
- "en_US": "Specify which field represents the action like insert or update. If not specified, all rows are default to insert",
- "zh_CN": "指定哪个字段表示操作,例如插入或更新。如果不指定,默认所有的数据都是插入操作"
- },
- "label": {
- "en_US": "Rowkind Field",
- "zh_CN": "动作字段"
- }
- },
- {
- "name": "keyField",
- "default": "",
- "optional": true,
- "control": "text",
- "type": "string",
- "hint": {
- "en_US": "Specify which field is the primary key. If rowKindField is set this field is required.",
- "zh_CN": "指定哪个字段为主键字段。如果设置了 rowKindField 则本属性必填。"
- },
- "label": {
- "en_US": "Key Field",
- "zh_CN": "Key 字段"
- }
- }
- ],
- "node": {
- "category": "sink",
- "icon": "iconPath",
- "label": {
- "en": "SQL",
- "zh": "SQL"
- }
- }
- }
|