Enum Class PartialMaskingFunction.Kind

java.lang.Object
java.lang.Enum<PartialMaskingFunction.Kind>
org.apache.cassandra.cql3.functions.masking.PartialMaskingFunction.Kind
All Implemented Interfaces:
Serializable, Comparable<PartialMaskingFunction.Kind>, Constable
Enclosing class:
PartialMaskingFunction

public static enum PartialMaskingFunction.Kind extends Enum<PartialMaskingFunction.Kind>
  • Enum Constant Details

  • Method Details

    • values

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

      public static PartialMaskingFunction.Kind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • shouldMask

      protected abstract boolean shouldMask(int pos, int begin, int end)
    • mask

      public String mask(String value, int begin, int end, char padding)