Annotation Type Neo4jVersion


  • @Retention(RUNTIME)
    @Target({METHOD,TYPE})
    @Documented
    @API(status=EXPERIMENTAL,
         since="2020.1.2")
    public @interface Neo4jVersion
    This annotation provides information which Neo4j version is required to be able to successfully run a query containing a fragment generated via a method annotated with it.
    Since:
    2020.1.2
    Author:
    Michael J. Simons
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String minimum  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String last  
    • Element Detail

      • minimum

        java.lang.String minimum
        Returns:
        The minimum version of Neo4j required to run the annotated construct.
      • last

        java.lang.String last
        Returns:
        The last version of Neo4j that supports running the annotated construct.
        Default:
        ""