Annotation Interface GraphProjection


@Documented @Target({}) @Retention(RUNTIME) public @interface GraphProjection
Configures an asynchronous materialized search document containing a complete model graph.

Configure this through Model.graphProjection() and enable it with Model.materializeGraph(). Without an explicit collection(), Fluxzero appends -graphs to the resolved direct-model collection when the root has a direct document, or to the simple Model name otherwise. An explicit collection remains available when that durable public search contract needs a custom name.

  • Element Details

    • completion

      Default result-completion behavior for commits affecting this root projection.
      Default:
      DEFAULT
    • collection

      String collection
      Distinct collection receiving materialized graph documents. Blank derives from the public direct-model collection when enabled, or from the simple root-model name otherwise.
      Default:
      ""
    • pathOverrides

      GraphPathOverride[] pathOverrides
      Optional projection-local replacements for canonical relationship paths.
      Default:
      {}