orderby.json 1.8 KB

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