join.json 2.6 KB

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