Enum FromBuilder.TupleType

java.lang.Object
java.lang.Enum<FromBuilder.TupleType>
net.hydromatic.morel.ast.FromBuilder.TupleType
All Implemented Interfaces:
Serializable, Comparable<FromBuilder.TupleType>, java.lang.constant.Constable
Enclosing class:
FromBuilder

private static enum FromBuilder.TupleType extends Enum<FromBuilder.TupleType>
Category of expression passed to "yield".
  • Enum Constant Details

    • RENAME

      public static final FromBuilder.TupleType RENAME
      Tuple whose right side are the current fields, e.g. "{a = deptno, b = dname}".
    • IDENTITY

      public static final FromBuilder.TupleType IDENTITY
      Tuple whose right side are the current fields and left side are the same as the right, e.g. "{deptno = deptno, dname = dname}".
    • OTHER

      public static final FromBuilder.TupleType OTHER
      Any other tuple, e.g. "{a = deptno + 1, dname = dname}", "{deptno = deptno}" (too few fields).
  • Constructor Details

    • TupleType

      private TupleType()
  • Method Details

    • values

      public static FromBuilder.TupleType[] 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 FromBuilder.TupleType 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