Class SegmentLineageUtils


  • public class SegmentLineageUtils
    extends Object
    Util class for Segment Lineage
    • Method Detail

      • generateLineageEntryId

        public static String generateLineageEntryId()
        Generate lineage entry id using UUID.
        Returns:
        lineage entry id
      • filterSegmentsBasedOnLineageInPlace

        public static void filterSegmentsBasedOnLineageInPlace​(Set<String> segments,
                                                               SegmentLineage segmentLineage)
        Use the segment lineage metadata to filters out either merged segments or original segments in place to make sure that the final segments contain no duplicate data.