Class SampleToParentSampleTransformer

  • All Implemented Interfaces:
    SourceItemTransformer

    public class SampleToParentSampleTransformer
    extends AbstractSourceItemTransformer
    Source item transformer implementation that transform sample items to their parent sample items. From the given set of sample ID:s the transformer will recursively load as many parent samples as possible. The source items may optionally be included in the target set.
    Since:
    3.5
    Author:
    Nicklas
    • Field Detail

      • includeSourcesInTarget

        private final boolean includeSourcesInTarget
      • pushOnly

        private boolean pushOnly
    • Constructor Detail

      • SampleToParentSampleTransformer

        public SampleToParentSampleTransformer​(boolean includeSourcesInTarget)
        Create a new sample to parent sample transformer.
        Parameters:
        includeSourcesInTarget - TRUE to include the source items in the target
      • SampleToParentSampleTransformer

        public SampleToParentSampleTransformer​(boolean includeSourcesInTarget,
                                               boolean childrensThatPushOnly)
        Create a new sample to parent sample transformer that only load parents to samples that has a subtype with "push annotations" set. This functionality should only be used in the first transformation step.
        Since:
        3.16
        See Also:
        PushToParentsTransformer