Interface HashFunctionProvider<T>

    • Method Detail

      • getHashFunction

        HashFunction<T> getHashFunction​(@Nullable
                                        TableId tableId,
                                        Schema schema)
        Gets a hash function based on the given table ID and schema, to help PrePartitionOperator to shuffle DataChangeEvent to designated subtask.
        Parameters:
        tableId - table ID
        schema - flink table schema
        Returns:
        hash function based on the given table ID and schema