Package 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
Modifier and TypeMethodDescriptionbuild
(DataMaskDescription description, TypeDescription schema, DataMask.MaskOverrides overrides) Build a mask with the given parameters.
-
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 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
-