Gcloud::Bigquery::ExtractJob

ExtractJob

A Job subclass representing an export operation that may be performed on a Table. A ExtractJob instance is created when you call Gcloud::Bigquery::Table#extract.

See Exporting Data From BigQuery and the Jobs API reference for details.

Methods

Public Instance Methods

avro?()

Checks if the destination format for the data is Avro. The default is false.

compression?()

Checks if the export operation compresses the data using gzip. The default is false.

csv?()

Checks if the destination format for the data is CSV. Tables with nested or repeated fields cannot be exported as CSV. The default is true.

delimiter()

The symbol the operation uses to delimit fields in the exported data. The default is a comma (,).

destinations()

The URI or URIs representing the Google Cloud Storage files to which the data is exported.

destinations_counts()

The count of files per destination URI or URI pattern specified in destinations. Returns a Hash with the URI patterns as keys and the counts as values.

destinations_file_counts()

The count of files per destination URI or URI pattern specified in destinations. Returns an Array of values in the same order as the URI patterns.

json?()

Checks if the destination format for the data is newline-delimited JSON. The default is false.

source()

The table from which the data is exported. This is the table upon which Gcloud::Bigquery::Table#extract was called. Returns a Table instance.