join.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. {
  2. "name": "join",
  3. "about": {
  4. "trial": false,
  5. "author": {
  6. "name": "EMQ",
  7. "email": "contact@emqx.io",
  8. "company": "EMQ Technologies Co., Ltd",
  9. "website": "https://www.emqx.io"
  10. },
  11. "helpUrl": {
  12. "en_US": "https://github.com/lf-edge/ekuiper/blob/master/docs/en_US/sqls/query_language_elements.md",
  13. "zh_CN": "https://github.com/lf-edge/ekuiper/blob/master/docs/zh_CN/sqls/query_language_elements.md"
  14. },
  15. "description": {
  16. "en_US": "An operation to combine rows from two or more tables, based on a related column between them.",
  17. "zh_CN": "用于基于两个或多个表之间的相关列连接行的操作。"
  18. }
  19. },
  20. "properties": [{
  21. "name": "from",
  22. "default": "",
  23. "optional": false,
  24. "control": "text",
  25. "type": "string",
  26. "hint": {
  27. "en_US": "From table name",
  28. "zh_CN": "来源表的名字"
  29. },
  30. "label": {
  31. "en_US": "From",
  32. "zh_CN": "来源表"
  33. }
  34. },{
  35. "name": "joins",
  36. "optional": false,
  37. "control": "list",
  38. "type": "list_object",
  39. "hint": {
  40. "en_US": "Join conditions",
  41. "zh_CN": "连接条件"
  42. },
  43. "label": {
  44. "en_US": "Joins",
  45. "zh_CN": "连接"
  46. },
  47. "default": [
  48. {
  49. "name": "name",
  50. "default": "",
  51. "optional": false,
  52. "control": "text",
  53. "type": "string",
  54. "hint": {
  55. "en_US": "Join table name",
  56. "zh_CN": "连接的表名"
  57. },
  58. "label": {
  59. "en_US": "Table Name",
  60. "zh_CN": "表名"
  61. }
  62. },
  63. {
  64. "name": "type",
  65. "default": "",
  66. "optional": false,
  67. "control": "text",
  68. "type": "string",
  69. "values": [
  70. "inner",
  71. "left",
  72. "right",
  73. "full",
  74. "cross"
  75. ],
  76. "hint": {
  77. "en_US": "Join type",
  78. "zh_CN": "连接类型"
  79. },
  80. "label": {
  81. "en_US": "Type",
  82. "zh_CN": "类型"
  83. }
  84. },
  85. {
  86. "name": "on",
  87. "default": "",
  88. "optional": false,
  89. "control": "text",
  90. "type": "string",
  91. "hint": {
  92. "en_US": "join condition expression",
  93. "zh_CN": "连接条件语句"
  94. },
  95. "label": {
  96. "en_US": "Condition",
  97. "zh_CN": "条件"
  98. }
  99. }
  100. ]
  101. }],
  102. "node": {
  103. "display": true,
  104. "category": "operator",
  105. "input": {
  106. "type": "collection",
  107. "rowType": "single",
  108. "collectionType": "single"
  109. },
  110. "output": {
  111. "type": "collection",
  112. "strategy": "append"
  113. },
  114. "icon": "iconPath",
  115. "label": {
  116. "en": "Join",
  117. "zh": "连接"
  118. }
  119. }
  120. }