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
    Description
    static class 
    To create a DataMask, the users should come through this API.
    static interface 
    An interface to provide override data masks for sub-columns.
    static interface 
    Providers can provide one or more kinds of data masks.
    static enum 
    The standard DataMasks can be created using this short cut.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    maskData(org.apache.hadoop.hive.ql.exec.vector.ColumnVector original, org.apache.hadoop.hive.ql.exec.vector.ColumnVector masked, int start, int length)
    Mask the given range of values
  • Method Details

    • maskData

      void maskData(org.apache.hadoop.hive.ql.exec.vector.ColumnVector original, org.apache.hadoop.hive.ql.exec.vector.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