Enum JobInfo.WriteDisposition

    • Enum Constant Detail

      • WRITE_TRUNCATE

        public static final JobInfo.WriteDisposition WRITE_TRUNCATE
        Configures the job to overwrite the table data if table already exists.
      • WRITE_APPEND

        public static final JobInfo.WriteDisposition WRITE_APPEND
        Configures the job to append data to the table if it already exists.
      • WRITE_EMPTY

        public static final JobInfo.WriteDisposition WRITE_EMPTY
        Configures the job to fail with a duplicate error if the table already exists.
    • Method Detail

      • values

        public static JobInfo.WriteDisposition[] 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 (JobInfo.WriteDisposition c : JobInfo.WriteDisposition.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static JobInfo.WriteDisposition 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