MaskProvider (ORC Core 1.6.6 API)
Date: 2021-01-13

org.apache.orc.impl.mask

## Class MaskProvider

- java.lang.Object
- - org.apache.orc.impl.mask.MaskProvider

- All Implemented Interfaces:
    DataMask.Provider

      public class MaskProvider
      extends Object
      implements DataMask.Provider

  The Provider for all of the built-in data masks.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MaskProvider()`

  - ### Method Summary

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

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MaskProvider

          public MaskProvider()

  - ### Method Detail

    - #### build

          public DataMask build(DataMaskDescription description,
                                TypeDescription schema,
                                DataMask.MaskOverrides overrides)

      Description copied from interface: `DataMask.Provider`
      Build a mask with the given parameters.
      Specified by:
        `build` in interface `DataMask.Provider`
      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.