Enum Class GraphProjectionMode

java.lang.Object
java.lang.Enum<GraphProjectionMode>
io.fluxzero.sdk.modeling.GraphProjectionMode
All Implemented Interfaces:
Serializable, Comparable<GraphProjectionMode>, Constable

public enum GraphProjectionMode extends Enum<GraphProjectionMode>
Materialization and completion policy for the optional composed Graph document.
  • Enum Constant Details

    • NONE

      public static final GraphProjectionMode NONE
      Default. Do not store a complete composed Graph document; keep the indexed node documents and assemble Graph results live when read. This does not disable Graph search.
    • ASYNC

      public static final GraphProjectionMode ASYNC
      Also maintain the composed Graph asynchronously.
    • AWAIT

      public static final GraphProjectionMode AWAIT
      Also maintain the composed Graph and wait for affected projections at commit completion.
  • Method Details

    • values

      public static GraphProjectionMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static GraphProjectionMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • completion

      public GraphProjectionCompletion completion()
      Completion policy for Graph update processing. A NONE Graph subscription stores only invalidation markers; ordinary NONE queries do not register a notification stream.