Package org.apache.pinot.common.lineage
Class SegmentLineageUtils
- java.lang.Object
-
- org.apache.pinot.common.lineage.SegmentLineageUtils
-
public class SegmentLineageUtils extends Object
Util class for Segment Lineage
-
-
Method Summary
Modifier and Type Method Description static voidfilterSegmentsBasedOnLineageInPlace(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.static StringgenerateLineageEntryId()Generate lineage entry id using UUID.
-
-
-
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.
-
-