Enum FromBuilder.TupleType

    • Enum Constant Detail

      • 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 Detail

      • TupleType

        private TupleType()
    • Method Detail

      • values

        public static FromBuilder.TupleType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FromBuilder.TupleType c : FromBuilder.TupleType.values())
            System.out.println(c);
        
        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