Class AdaptationTreeOptimizerSpec_RemoveDuplicates
- java.lang.Object
-
- com.orchestranetworks.service.extensions.AdaptationTreeOptimizerSpec
-
- com.orchestranetworks.service.extensions.AdaptationTreeOptimizerSpec_RemoveDuplicates
-
public class AdaptationTreeOptimizerSpec_RemoveDuplicates extends AdaptationTreeOptimizerSpec
Specifies an optimization by removing duplicates in a dataset tree.The optimization is made by comparing the specified dataset A and each specified descendant B:
For each A and B pair compared: if the value of B is defined and is equal to the corresponding value of A, then the value in B is set to "
inherited".For tables, it compares each child node of each record to the record with the same primary key in the parent.
-
-
Constructor Summary
Constructors Constructor Description AdaptationTreeOptimizerSpec_RemoveDuplicates(Adaptation aDataSet, boolean includeAllDescendants)Constructs a specification for removing duplicates in a dataset tree.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdaptationTreeOptimizerIteratorcreateOptimizerIterator(Session aSession)Builds an iterator for dataset tree optimization.-
Methods inherited from class com.orchestranetworks.service.extensions.AdaptationTreeOptimizerSpec
getAdaptation, isIncludeAllDescendants
-
-
-
-
Constructor Detail
-
AdaptationTreeOptimizerSpec_RemoveDuplicates
public AdaptationTreeOptimizerSpec_RemoveDuplicates(Adaptation aDataSet, boolean includeAllDescendants)
Constructs a specification for removing duplicates in a dataset tree.If the parameter
includeAllDescendantsis set tofalse, the optimization will only handle the specified dataset and its children.- Parameters:
aDataSet- top parent targeted by the dataset tree optimization.includeAllDescendants- includes the specified dataset and all descendant datasets.
-
-
Method Detail
-
createOptimizerIterator
public AdaptationTreeOptimizerIterator createOptimizerIterator(Session aSession)
Description copied from class:AdaptationTreeOptimizerSpecBuilds an iterator for dataset tree optimization.- Specified by:
createOptimizerIteratorin classAdaptationTreeOptimizerSpec- Parameters:
aSession- session for running the optimization.
-
-