-
Notifications
You must be signed in to change notification settings - Fork 421
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config(graph): add op node json desc
Signed-off-by: Jiyong Huang <huangjy@emqx.io>
- Loading branch information
Showing
7 changed files
with
520 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"about": { | ||
"trial": false, | ||
"author": { | ||
"name": "EMQ", | ||
"email": "contact@emqx.io", | ||
"company": "EMQ Technologies Co., Ltd", | ||
"website": "https://www.emqx.io" | ||
}, | ||
"helpUrl": { | ||
"en_US": "https://github.com/lf-edge/ekuiper/blob/master/docs/en_US/sqls/query_language_elements.md", | ||
"zh_CN": "https://github.com/lf-edge/ekuiper/blob/master/docs/zh_CN/sqls/query_language_elements.md" | ||
}, | ||
"description": { | ||
"en_US": "An operation to filter out rows based on a filter condition.", | ||
"zh_CN": "用于过滤数据流的操作" | ||
} | ||
}, | ||
"properties": [{ | ||
"name": "expr", | ||
"default": "", | ||
"optional": false, | ||
"control": "text", | ||
"type": "string", | ||
"hint": { | ||
"en_US": "filter condition expression", | ||
"zh_CN": "过滤条件语句" | ||
}, | ||
"label": { | ||
"en_US": "Condition", | ||
"zh_CN": "条件" | ||
} | ||
}], | ||
"node": { | ||
"display": true, | ||
"category": "op", | ||
"input": { | ||
"type": "any", | ||
"rowType": "any", | ||
"collectionType": "any" | ||
}, | ||
"output": { | ||
"type": "same", | ||
"strategy": "keep" | ||
}, | ||
"icon": "iconPath", | ||
"label": { | ||
"en": "Filter", | ||
"zh": "过滤" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"about": { | ||
"trial": false, | ||
"author": { | ||
"name": "EMQ", | ||
"email": "contact@emqx.io", | ||
"company": "EMQ Technologies Co., Ltd", | ||
"website": "https://www.emqx.io" | ||
}, | ||
"helpUrl": { | ||
"en_US": "https://github.com/lf-edge/ekuiper/blob/master/docs/en_US/sqls/query_language_elements.md", | ||
"zh_CN": "https://github.com/lf-edge/ekuiper/blob/master/docs/zh_CN/sqls/query_language_elements.md" | ||
}, | ||
"description": { | ||
"en_US": "An operation to invoke a function", | ||
"zh_CN": "用于调用函数的操作" | ||
} | ||
}, | ||
"properties": [{ | ||
"name": "expr", | ||
"default": "", | ||
"optional": false, | ||
"control": "text", | ||
"type": "string", | ||
"hint": { | ||
"en_US": "Function call expression", | ||
"zh_CN": "函数调用语句" | ||
}, | ||
"label": { | ||
"en_US": "Expression", | ||
"zh_CN": "函数语句" | ||
} | ||
}], | ||
"node": { | ||
"display": false, | ||
"category": "op", | ||
"input": { | ||
"type": "any", | ||
"rowType": "any", | ||
"collectionType": "single" | ||
}, | ||
"output": { | ||
"type": "same", | ||
"strategy": "append" | ||
}, | ||
"icon": "iconPath", | ||
"label": { | ||
"en": "Function", | ||
"zh": "函数" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"about": { | ||
"trial": false, | ||
"author": { | ||
"name": "EMQ", | ||
"email": "contact@emqx.io", | ||
"company": "EMQ Technologies Co., Ltd", | ||
"website": "https://www.emqx.io" | ||
}, | ||
"helpUrl": { | ||
"en_US": "https://github.com/lf-edge/ekuiper/blob/master/docs/en_US/sqls/query_language_elements.md", | ||
"zh_CN": "https://github.com/lf-edge/ekuiper/blob/master/docs/zh_CN/sqls/query_language_elements.md" | ||
}, | ||
"description": { | ||
"en_US": "An operation to group the events by the condition.", | ||
"zh_CN": "用于按条件对事件进行分组的操作。" | ||
} | ||
}, | ||
"properties": [{ | ||
"name": "dimensions", | ||
"default": "[]", | ||
"optional": false, | ||
"control": "text", | ||
"type": "list_string", | ||
"hint": { | ||
"en_US": "the dimension fields to group by", | ||
"zh_CN": "分组的维度字段" | ||
}, | ||
"label": { | ||
"en_US": "Dimensions", | ||
"zh_CN": "维度" | ||
} | ||
}], | ||
"node": { | ||
"display": true, | ||
"category": "op", | ||
"input": { | ||
"type": "collection", | ||
"rowType": "single", | ||
"collectionType": "any" | ||
}, | ||
"output": { | ||
"type": "collection", | ||
"strategy": "grouped" | ||
}, | ||
"icon": "iconPath", | ||
"label": { | ||
"en": "Group By", | ||
"zh": "分组" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
{ | ||
"about": { | ||
"trial": false, | ||
"author": { | ||
"name": "EMQ", | ||
"email": "contact@emqx.io", | ||
"company": "EMQ Technologies Co., Ltd", | ||
"website": "https://www.emqx.io" | ||
}, | ||
"helpUrl": { | ||
"en_US": "https://github.com/lf-edge/ekuiper/blob/master/docs/en_US/sqls/query_language_elements.md", | ||
"zh_CN": "https://github.com/lf-edge/ekuiper/blob/master/docs/zh_CN/sqls/query_language_elements.md" | ||
}, | ||
"description": { | ||
"en_US": "An operation to combine rows from two or more tables, based on a related column between them.", | ||
"zh_CN": "用于基于两个或多个表之间的相关列连接行的操作。" | ||
} | ||
}, | ||
"properties": [{ | ||
"name": "from", | ||
"default": "", | ||
"optional": false, | ||
"control": "text", | ||
"type": "string", | ||
"hint": { | ||
"en_US": "From table name", | ||
"zh_CN": "来源表的名字" | ||
}, | ||
"label": { | ||
"en_US": "From", | ||
"zh_CN": "来源表" | ||
} | ||
},{ | ||
"name": "joins", | ||
"optional": false, | ||
"control": "list", | ||
"type": "list_object", | ||
"hint": { | ||
"en_US": "Join conditions", | ||
"zh_CN": "连接条件" | ||
}, | ||
"label": { | ||
"en_US": "Joins", | ||
"zh_CN": "连接" | ||
}, | ||
"default": [ | ||
{ | ||
"name": "name", | ||
"default": "", | ||
"optional": false, | ||
"control": "text", | ||
"type": "string", | ||
"hint": { | ||
"en_US": "Join table name", | ||
"zh_CN": "连接的表名" | ||
}, | ||
"label": { | ||
"en_US": "Table Name", | ||
"zh_CN": "表名" | ||
} | ||
}, | ||
{ | ||
"name": "type", | ||
"default": "", | ||
"optional": false, | ||
"control": "text", | ||
"type": "string", | ||
"values": [ | ||
"inner", | ||
"left", | ||
"right", | ||
"full", | ||
"cross" | ||
], | ||
"hint": { | ||
"en_US": "Join type", | ||
"zh_CN": "连接类型" | ||
}, | ||
"label": { | ||
"en_US": "Type", | ||
"zh_CN": "类型" | ||
} | ||
}, | ||
{ | ||
"name": "on", | ||
"default": "", | ||
"optional": false, | ||
"control": "text", | ||
"type": "string", | ||
"hint": { | ||
"en_US": "join condition expression", | ||
"zh_CN": "连接条件语句" | ||
}, | ||
"label": { | ||
"en_US": "Condition", | ||
"zh_CN": "条件" | ||
} | ||
} | ||
] | ||
}], | ||
"node": { | ||
"display": true, | ||
"category": "op", | ||
"input": { | ||
"type": "collection", | ||
"rowType": "single", | ||
"collectionType": "single" | ||
}, | ||
"output": { | ||
"type": "collection", | ||
"strategy": "append" | ||
}, | ||
"icon": "iconPath", | ||
"label": { | ||
"en": "Join", | ||
"zh": "连接" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
{ | ||
"about": { | ||
"trial": false, | ||
"author": { | ||
"name": "EMQ", | ||
"email": "contact@emqx.io", | ||
"company": "EMQ Technologies Co., Ltd", | ||
"website": "https://www.emqx.io" | ||
}, | ||
"helpUrl": { | ||
"en_US": "https://github.com/lf-edge/ekuiper/blob/master/docs/en_US/sqls/query_language_elements.md", | ||
"zh_CN": "https://github.com/lf-edge/ekuiper/blob/master/docs/zh_CN/sqls/query_language_elements.md" | ||
}, | ||
"description": { | ||
"en_US": "An operation to order the rows.", | ||
"zh_CN": "用于排序的操作" | ||
} | ||
}, | ||
"properties": [{ | ||
"name": "sorts", | ||
"optional": false, | ||
"control": "list", | ||
"type": "list_object", | ||
"hint": { | ||
"en_US": "order expression", | ||
"zh_CN": "排序语句" | ||
}, | ||
"label": { | ||
"en_US": "Order", | ||
"zh_CN": "排序" | ||
}, | ||
"default": [ | ||
{ | ||
"name": "field", | ||
"default": "", | ||
"optional": false, | ||
"control": "text", | ||
"type": "string", | ||
"hint": { | ||
"en_US": "Order by field", | ||
"zh_CN": "用于排序的字段名" | ||
}, | ||
"label": { | ||
"en_US": "Field", | ||
"zh_CN": "字段" | ||
} | ||
}, | ||
{ | ||
"name": "order", | ||
"default": false, | ||
"optional": false, | ||
"control": "checkbox", | ||
"type": "boolean", | ||
"hint": { | ||
"en_US": "Order by descending", | ||
"zh_CN": "是否降序" | ||
}, | ||
"label": { | ||
"en_US": "Descending", | ||
"zh_CN": "降序" | ||
} | ||
} | ||
] | ||
}], | ||
"node": { | ||
"display": true, | ||
"category": "op", | ||
"input": { | ||
"type": "any", | ||
"rowType": "any", | ||
"collectionType": "any" | ||
}, | ||
"output": { | ||
"type": "same", | ||
"strategy": "keep" | ||
}, | ||
"icon": "iconPath", | ||
"label": { | ||
"en": "Filter", | ||
"zh": "过滤" | ||
} | ||
} | ||
} |
Oops, something went wrong.