echo.json 1.1 KB

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