Gcloud::Bigquery::CopyJob
CopyJob¶ ↑
A Job subclass representing a copy operation that may be performed on a Table. A CopyJob instance is created when you call Gcloud::Bigquery::Table#copy.
See Copying an Existing Table and the Jobs API reference for details.
Methods
Public Instance Methods
create_if_needed?()
¶
↑
Checks if the create disposition for the job is
CREATE_IF_NEEDED
, which provides the following behavior: If
the table does not exist, the copy operation creates the table. This is the
default.
create_never?()
¶
↑
Checks if the create disposition for the job is CREATE_NEVER
,
which provides the following behavior: The table must already exist; if it
does not, an error is returned in the job result.
source()
¶
↑
The table from which data is copied. This is the table on which Gcloud::Bigquery::Table#copy was called. Returns a Table instance.
write_append?()
¶
↑
Checks if the write disposition for the job is WRITE_APPEND
,
which provides the following behavior: If the table already exists, the
copy operation appends the data to the table.