DataMask (ORC Core 1.6.5 API)
Date: 2020-10-01

org.apache.orc

## Interface DataMask

- All Known Implementing Classes:
    DecimalIdentity, DoubleIdentity, ListIdentity, LongIdentity, MapIdentity, NullifyMask, StructIdentity, UnionIdentity

      public interface DataMask

  The API for masking data during column encryption for ORC. They apply to an individual column (via ColumnVector) instead of a VectorRowBatch.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `DataMask.Factory` To create a DataMask, the users should come through this API.
    `static interface` | `DataMask.MaskOverrides` An interface to provide override data masks for sub-columns.
    `static interface` | `DataMask.Provider` Providers can provide one or more kinds of data masks.
    `static class` | `DataMask.Standard` The standard DataMasks can be created using this short cut.

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `maskData(ColumnVector original, ColumnVector masked, int start, int length)` Mask the given range of values

- - ### Method Detail

    - #### maskData

          void maskData(ColumnVector original,
                        ColumnVector masked,
                        int start,
                        int length)

      Mask the given range of values
      Parameters:
        `original` - the original input data
        `masked` - the masked output data
        `start` - the first data element to mask
        `length` - the number of data elements to mask

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