Class RewriteModelGraphDocument

java.lang.Object
io.fluxzero.common.api.Request
io.fluxzero.common.api.Command
io.fluxzero.common.api.search.RewriteModelGraphDocument
All Implemented Interfaces:
JsonType

public class RewriteModelGraphDocument extends Command
Conditionally replaces one materialized model-graph document after application-level schema migration.

The Runtime applies the replacement only while the stored document still carries expectedManifest. This prevents a delayed document handler from overwriting a newer graph projection boundary or a migration performed by another application instance. Direct model documents, relationships and projection progress are not changed.

  • Constructor Details

    • RewriteModelGraphDocument

      public RewriteModelGraphDocument()
  • Method Details

    • routingKey

      public String routingKey()
      Description copied from class: Command
      Optionally specifies a routing key for this command, which may be used to partition work or apply consistent hashing when processed in the Fluxzero Runtime.
      Overrides:
      routingKey in class Command
      Returns:
      a routing key string, or null if not specified