Class ModelDiff
java.lang.Object
com.gooddata.sdk.model.project.model.ModelDiff
Model diff including MAQL DDL.
Deserialization only.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSet of MAQL DDL scripts with one variant of side-effects (truncation of loaded data, drops of related objects...). -
Method Summary
Modifier and TypeMethodDescriptionReturns MAQL DDL update script that should be executed to update the source model to the target state.toString()
-
Method Details
-
getUpdateMaql
Returns MAQL DDL update script that should be executed to update the source model to the target state.It picks the best possible variant by it's side-effects (truncation of loaded data, drops of related objects). It returns first present variant by order:
- preserve data + no cascade drops
- no preserve data + no cascade drops
- preserve data + cascade drops
- no preserve data + cascade drops
- Returns:
- MAQL DDL update scripts. Empty list if there are no differences.
-
toString
-