window.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. {
  2. "name": "window",
  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 create a streaming window",
  17. "zh_CN": "用于创建窗口的操作"
  18. }
  19. },
  20. "properties": [
  21. {
  22. "name": "type",
  23. "default": "",
  24. "optional": false,
  25. "control": "select",
  26. "type": "string",
  27. "values": [
  28. "tumblingwindow",
  29. "hoppingwindow",
  30. "slidingwindow",
  31. "sessionwindow",
  32. "countwindow"
  33. ],
  34. "hint": {
  35. "en_US": "window type",
  36. "zh_CN": "窗口类型"
  37. },
  38. "label": {
  39. "en_US": "Window Type",
  40. "zh_CN": "窗口类型"
  41. }
  42. },{
  43. "name": "unit",
  44. "default": "",
  45. "optional": false,
  46. "control": "text",
  47. "type": "string",
  48. "values": [
  49. "ms",
  50. "ss",
  51. "mi",
  52. "hh",
  53. "dd"
  54. ],
  55. "hint": {
  56. "en_US": "Time unit for the window",
  57. "zh_CN": "窗口的时间单位"
  58. },
  59. "label": {
  60. "en_US": "Time Unit",
  61. "zh_CN": "时间单位"
  62. }
  63. },{
  64. "name": "size",
  65. "default": "",
  66. "optional": false,
  67. "control": "text",
  68. "type": "int",
  69. "hint": {
  70. "en_US": "Window Length",
  71. "zh_CN": "窗口长度"
  72. },
  73. "label": {
  74. "en_US": "Window Length",
  75. "zh_CN": "窗口长度"
  76. }
  77. },{
  78. "name": "interval",
  79. "default": "",
  80. "optional": false,
  81. "control": "text",
  82. "type": "int",
  83. "hint": {
  84. "en_US": "Window trigger interval",
  85. "zh_CN": "窗口触发周期"
  86. },
  87. "label": {
  88. "en_US": "Window Trigger Interval",
  89. "zh_CN": "窗口触发周期"
  90. }
  91. }],
  92. "node": {
  93. "display": false,
  94. "category": "operator",
  95. "input": {
  96. "type": "row",
  97. "rowType": "any",
  98. "collectionType": "any",
  99. "allowMulti": true
  100. },
  101. "output": {
  102. "type": "collection",
  103. "strategy": "append"
  104. },
  105. "icon": "iconPath",
  106. "label": {
  107. "en": "Window",
  108. "zh": "窗口"
  109. }
  110. }
  111. }