Class DeduplicateFunctionHelper


  • public class DeduplicateFunctionHelper
    extends Object
    Utility for deduplicate function.
    • Method Detail

      • isDuplicate

        public static boolean isDuplicate​(org.apache.flink.table.data.RowData preRow,
                                          org.apache.flink.table.data.RowData currentRow,
                                          int rowtimeIndex,
                                          boolean keepLastRow)
        Returns current row is duplicate row or not compared to previous row.