Annotation Interface Relations


@Retention(RUNTIME) @Target(FIELD) public @interface Relations
Author:
Mark Vollmary
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<?>[]
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Follow outgoing, incoming, or edges pointing in either direction in the traversal
    boolean
    Whether the entity should be loaded lazily
    int
    Up to max length paths are traversed.
    int
    Edges and vertices returned by this query will start at the traversal depth of min (thus edges and vertices below will not be returned).
  • Element Details

    • edges

      Class<?>[] edges
    • minDepth

      int minDepth
      Edges and vertices returned by this query will start at the traversal depth of min (thus edges and vertices below will not be returned). If not specified, it defaults to 1. The minimal possible value is 0.
      Default:
      1
    • maxDepth

      int maxDepth
      Up to max length paths are traversed. If omitted, max defaults to min. Thus only the vertices and edges in the range of min are returned. max can not be specified without min.
      Default:
      1
    • direction

      Follow outgoing, incoming, or edges pointing in either direction in the traversal
      Default:
      ANY
    • lazy

      boolean lazy
      Whether the entity should be loaded lazily
      Default:
      false