Annotation Type UserFunction


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface UserFunction
    将方法声明为一个函数,表示该方法可通过cypher查询语言调用。
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String deprecatedBy
      弃用函数时,指出客户端在警告中可能显示的替换程序会有一定作用
      String name
      value()的同义词
      String value
      声明自定义函数调用语句。默认以class和method拼接,如com.graph.procedure
    • Element Detail

      • value

        String value
        声明自定义函数调用语句。默认以class和method拼接,如com.graph.procedure
        Returns:
        声明自定义函数调用语句
        Default:
        ""
      • name

        String name
        value()的同义词
        Returns:
        声明自定义函数调用语句
        Default:
        ""
      • deprecatedBy

        String deprecatedBy
        弃用函数时,指出客户端在警告中可能显示的替换程序会有一定作用
        Returns:
        替换UserFunction的字符串表现形式
        Default:
        ""