Package org.apache.orc.impl.mask
Class MaskProvider
java.lang.Object
org.apache.orc.impl.mask.MaskProvider
- All Implemented Interfaces:
DataMask.Provider
The Provider for all of the built-in data masks.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(DataMaskDescription description, TypeDescription schema, DataMask.MaskOverrides overrides) Build a mask with the given parameters.
-
Constructor Details
-
MaskProvider
public MaskProvider()
-
-
Method Details
-
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 interfaceDataMask.Provider
- Parameters:
description
- the description of the data maskschema
- the type of the fieldoverrides
- a function to override this mask on a sub-column- Returns:
- the new data mask or null if this name is unknown
-