Enum SqlTrimFunction.Flag

java.lang.Object
java.lang.Enum<SqlTrimFunction.Flag>
org.apache.calcite.sql.fun.SqlTrimFunction.Flag
All Implemented Interfaces:
Serializable, Comparable<SqlTrimFunction.Flag>, Constable, Symbolizable
Enclosing class:
SqlTrimFunction

public static enum SqlTrimFunction.Flag extends Enum<SqlTrimFunction.Flag> implements Symbolizable
Defines the enumerated values "LEADING", "TRAILING", "BOTH".
  • Enum Constant Details

  • Method Details

    • values

      public static SqlTrimFunction.Flag[] 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 SqlTrimFunction.Flag 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
    • getLeft

      public int getLeft()
    • getRight

      public int getRight()