Class RewriteModelSourceDocument
java.lang.Object
io.fluxzero.common.api.Request
io.fluxzero.common.api.Command
io.fluxzero.common.api.search.RewriteModelSourceDocument
- All Implemented Interfaces:
JsonType
Persists a schema-only rewrite of an internal Model source without advancing the Model's head or history.
Both the complete head and the verified previous document proof must still match. A stale request is a no-op;
ordinary document writes never acquire trusted Model-state provenance through this operation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptionally specifies a routing key for this command, which may be used to partition work or apply consistent hashing when processed in the Fluxzero Runtime.voidvalidate()Validates the source-only, non-deleting envelope before any persistence action.Methods inherited from class Command
getGuarantee
-
Constructor Details
-
RewriteModelSourceDocument
public RewriteModelSourceDocument()
-
-
Method Details
-
validate
public void validate()Validates the source-only, non-deleting envelope before any persistence action. -
routingKey
Description copied from class:CommandOptionally 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:
routingKeyin classCommand- Returns:
- a routing key string, or
nullif not specified
-