Enum MaskStrings.HashingByteArrayStrategy

java.lang.Object
java.lang.Enum<MaskStrings.HashingByteArrayStrategy>
io.debezium.relational.mapping.MaskStrings.HashingByteArrayStrategy
All Implemented Interfaces:
Serializable, Comparable<MaskStrings.HashingByteArrayStrategy>
Enclosing class:
MaskStrings

public static enum MaskStrings.HashingByteArrayStrategy extends Enum<MaskStrings.HashingByteArrayStrategy>
V1 default and previous version. Because ObjectOutputStream is used, some characters are added before the actual value. V2 should be used to fidelity for the value being hashed the same way in different places. The byte array also has only the actual value.
  • Enum Constant Details

  • Constructor Details

    • HashingByteArrayStrategy

      private HashingByteArrayStrategy()
  • Method Details

    • values

      public static MaskStrings.HashingByteArrayStrategy[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static MaskStrings.HashingByteArrayStrategy valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • toByteArray

      abstract byte[] toByteArray(Serializable value) throws IOException
      Throws:
      IOException