java.lang.Object
java.lang.Enum<LikeType>
org.apache.flink.table.operations.utils.LikeType
All Implemented Interfaces:
Serializable, Comparable<LikeType>

@Internal public enum LikeType extends Enum<LikeType>
Like types enums.
  • Enum Constant Details

    • LIKE

      public static final LikeType LIKE
      case-sensitive to match a pattern.
    • ILIKE

      public static final LikeType ILIKE
      case-insensitive to match a pattern.
    • NOT_LIKE

      public static final LikeType NOT_LIKE
    • NOT_ILIKE

      public static final LikeType NOT_ILIKE
  • Method Details

    • values

      public static LikeType[] 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 LikeType 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
    • of

      public static LikeType of(String type)
    • of

      public static LikeType of(String type, boolean notLike)
    • isNot

      public boolean isNot()
    • isILike

      public boolean isILike()
    • of

      public static LikeType of(boolean isILike, boolean notLike)
    • asSummaryString

      public String asSummaryString()