Class ModelSourceDocumentMigration
java.lang.Object
io.fluxzero.sdk.persisting.search.ModelSourceDocumentMigration
Internal schema-only return guard for handlers explicitly selecting a maintained Model source.
-
Method Summary
Modifier and TypeMethodDescriptionvoidRejects state mutations and conditionally persists only the verified source's ordinary upcast result.static ModelSourceDocumentMigrationprepare(DeserializingMessage message, Class<?> type, String collection, DocumentSerializer serializer, SearchClient client) Captures the handled value before application code can mutate it, and inspects the verified current source.
-
Method Details
-
prepare
public static ModelSourceDocumentMigration prepare(DeserializingMessage message, Class<?> type, String collection, DocumentSerializer serializer, SearchClient client) Captures the handled value before application code can mutate it, and inspects the verified current source. -
finish
Rejects state mutations and conditionally persists only the verified source's ordinary upcast result.
-