Interface DataMask.Provider

All Known Implementing Classes:
MaskProvider
Enclosing interface:
DataMask

public static interface DataMask.Provider
Providers can provide one or more kinds of data masks. Because they are discovered using a service loader, they may be added by third party jars.
  • Method Details

    • build

      DataMask build(DataMaskDescription description, TypeDescription schema, DataMask.MaskOverrides overrides)
      Build a mask with the given parameters.
      Parameters:
      description - the description of the data mask
      schema - the type of the field
      overrides - a function to override this mask on a sub-column
      Returns:
      the new data mask or null if this name is unknown