klyn.data.SchemaPlan.SchemaPlan
constructor

    public SchemaPlan(
    providerName as String,
    modelFingerprint as String,
    operations as IList<SchemaOperation>
    ):

Description

Creates an immutable schema plan.

Parameters

Parameter | Description
--- | ---
`providerName` | Stable provider family.
`modelFingerprint` | Mapping model fingerprint.
`operations` | Ordered schema operations.

Throws

- ValueException when required plan metadata is absent.

Example

    plan = SchemaPlan("memory", "model-hash", [])
    assert plan.empty