Package com.gooddata.model
Class ModelDiff
- java.lang.Object
-
- com.gooddata.model.ModelDiff
-
public class ModelDiff extends Object
Model diff including MAQL DDL. Deserialization only.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getUpdateMaql()Returns MAQL DDL update script that should be executed to update the source model to the target state.StringtoString()
-
-
-
Method Detail
-
getUpdateMaql
public List<String> 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.
-
-