Class ReplaceMaskingFunction

  • All Implemented Interfaces:
    AssignmentTestable, Function, ScalarFunction

    public class ReplaceMaskingFunction
    extends MaskingFunction
    A MaskingFunction that replaces the specified column value by a certain replacement value.

    The returned replacement value needs to have the same type as the replaced value.

    For example, given a text column named "username", mask_replace(username, '****') will return ****.