echo.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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://ekuiper.org/docs/en/latest/sqls/custom_functions.html",
  12. "zh_CN": "https://ekuiper.org/docs/zh/latest/sqls/custom_functions.html"
  13. },
  14. "description": {
  15. "en_US": "",
  16. "zh_CN": ""
  17. }
  18. },
  19. "name": "echo",
  20. "functions": [
  21. {
  22. "name": "echo",
  23. "example": "echo(col1)",
  24. "hint": {
  25. "en_US": "The parameter value is output as it is.",
  26. "zh_CN": "原样输出参数值。"
  27. },
  28. "args": [
  29. {
  30. "name": "field",
  31. "optional": false,
  32. "control": "field",
  33. "type": "string",
  34. "hint": {
  35. "en_US": "The field to echo.",
  36. "zh_CN": "字段名"
  37. },
  38. "label": {
  39. "en_US": "Field",
  40. "zh_CN": "字段"
  41. }
  42. }
  43. ],
  44. "return": {
  45. "type": "string",
  46. "hint": {
  47. "en_US": "Echoed string",
  48. "zh_CN": "回声值"
  49. }
  50. },
  51. "node": {
  52. "category": "function",
  53. "icon": "iconPath",
  54. "label": {
  55. "en_US": "Echo",
  56. "zh_CN": "回声"
  57. }
  58. }
  59. }]
  60. }