public class AdaptationTreeOptimizerSpec_MutualizeCommons extends AdaptationTreeOptimizerSpec
The optimization is performed by comparing each value in the specified dataset to the values in its children:
inherited.For tables, it compares each child node of each record to the record with the same primary key in the parent node.
| Constructor and Description |
|---|
AdaptationTreeOptimizerSpec_MutualizeCommons(Adaptation aDataSet,
boolean includeAllDescendants)
Creates a specification for factoring common values in a dataset tree.
|
| Modifier and Type | Method and Description |
|---|---|
AdaptationTreeOptimizerIterator |
createOptimizerIterator(Session aSession)
Builds an iterator for dataset tree optimization.
|
getAdaptation, isIncludeAllDescendantspublic AdaptationTreeOptimizerSpec_MutualizeCommons(Adaptation aDataSet, boolean includeAllDescendants)
If the parameter includeAllDescendants
is set to false, the optimization will only handle the specified dataset and its children.
aDataSet - top parent to be targeted by the optimization of the dataset tree.includeAllDescendants - includes all datasets, even children of delegated datasets.public AdaptationTreeOptimizerIterator createOptimizerIterator(Session aSession)
AdaptationTreeOptimizerSpeccreateOptimizerIterator in class AdaptationTreeOptimizerSpecaSession - session for running the optimization.