DataMask.Provider (ORC Core 1.6.6 API)
Date: 2021-01-13

org.apache.orc

## 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 Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `DataMask` | `build(DataMaskDescription description, TypeDescription schema, DataMask.MaskOverrides overrides)` Build a mask with the given parameters.

- - ### Method Detail

    - #### 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

Copyright © 2013–2021 The Apache Software Foundation. All rights reserved.