orderby.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "name": "orderby",
  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 order the rows.",
  17. "zh_CN": "用于排序的操作"
  18. }
  19. },
  20. "properties": [{
  21. "name": "sorts",
  22. "optional": false,
  23. "control": "list",
  24. "type": "list_object",
  25. "hint": {
  26. "en_US": "order expression",
  27. "zh_CN": "排序语句"
  28. },
  29. "label": {
  30. "en_US": "Order",
  31. "zh_CN": "排序"
  32. },
  33. "default": [
  34. {
  35. "name": "field",
  36. "default": "",
  37. "optional": false,
  38. "control": "text",
  39. "type": "string",
  40. "hint": {
  41. "en_US": "Order by field",
  42. "zh_CN": "用于排序的字段名"
  43. },
  44. "label": {
  45. "en_US": "Field",
  46. "zh_CN": "字段"
  47. }
  48. },
  49. {
  50. "name": "order",
  51. "default": false,
  52. "optional": false,
  53. "control": "checkbox",
  54. "type": "boolean",
  55. "hint": {
  56. "en_US": "Order by descending",
  57. "zh_CN": "是否降序"
  58. },
  59. "label": {
  60. "en_US": "Descending",
  61. "zh_CN": "降序"
  62. }
  63. }
  64. ]
  65. }],
  66. "node": {
  67. "display": true,
  68. "category": "operator",
  69. "input": {
  70. "type": "any",
  71. "rowType": "any",
  72. "collectionType": "any"
  73. },
  74. "output": {
  75. "type": "same",
  76. "strategy": "keep"
  77. },
  78. "icon": "iconPath",
  79. "label": {
  80. "en": "Sort",
  81. "zh": "排序"
  82. }
  83. }
  84. }