Package com.google.cloud.bigquery
Class ExtractJobConfiguration
java.lang.Object
com.google.cloud.bigquery.JobConfiguration
com.google.cloud.bigquery.ExtractJobConfiguration
- All Implemented Interfaces:
Serializable
Google BigQuery extract job configuration. An extract job exports a BigQuery table to Google
Cloud Storage. The extract destination provided as URIs that point to objects in Google Cloud
Storage. Extract job configurations have
JobConfiguration.Type.EXTRACT
type.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.cloud.bigquery.JobConfiguration
JobConfiguration.Type
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the compression value of exported files.Returns the list of fully-qualified Google Cloud Storage URIs where the extracted table should be written.Returns the delimiter used between fields in the exported data.Returns the exported files format.Returns the timeout associated with this jobReturns the labels associated with this jobReturns the model to export.Returns the table to export.Returns True/False.int
hashCode()
newBuilder
(ModelId sourceModel, String destinationUri) Creates a builder for a BigQuery Extract Job configuration given source model and destination URI.newBuilder
(ModelId sourceModel, List<String> destinationUris) Creates a builder for a BigQuery Extract Job configuration given source model and destination URIs.newBuilder
(TableId sourceTable, String destinationUri) Creates a builder for a BigQuery Extract Job configuration given source table and destination URI.newBuilder
(TableId sourceTable, List<String> destinationUris) Creates a builder for a BigQuery Extract Job configuration given source table and destination URIs.static ExtractJobConfiguration
Returns a BigQuery Extract Job configuration for the given source model and destination URI.static ExtractJobConfiguration
Returns a BigQuery Extract Job configuration for the given source model, format and destination URI.static ExtractJobConfiguration
Returns a BigQuery Extract Job configuration for the given source model and destination URIs.static ExtractJobConfiguration
Returns a BigQuery Extract Job configuration for the given source table, format and destination URIs.static ExtractJobConfiguration
Returns a BigQuery Extract Job configuration for the given source table and destination URI.static ExtractJobConfiguration
Returns a BigQuery Extract Job configuration for the given source table, format and destination URI.static ExtractJobConfiguration
Returns a BigQuery Extract Job configuration for the given source table and destination URIs.static ExtractJobConfiguration
Returns a BigQuery Extract Job configuration for the given source table, format and destination URIs.Returns whether an header row is printed with the result.Returns a builder for the object.Methods inherited from class com.google.cloud.bigquery.JobConfiguration
getType, toString
-
Method Details
-
getSourceTable
Returns the table to export. -
getSourceModel
Returns the model to export. -
getDestinationUris
Returns the list of fully-qualified Google Cloud Storage URIs where the extracted table should be written.- See Also:
-
printHeader
Returns whether an header row is printed with the result. -
getFieldDelimiter
Returns the delimiter used between fields in the exported data. -
getFormat
Returns the exported files format. -
getCompression
Returns the compression value of exported files. -
getUseAvroLogicalTypes
Returns True/False. Indicates whether exported avro files include logical type annotations. -
getLabels
Returns the labels associated with this job -
getJobTimeoutMs
Returns the timeout associated with this job -
toBuilder
Description copied from class:JobConfiguration
Returns a builder for the object.- Specified by:
toBuilder
in classJobConfiguration
-
equals
-
hashCode
public int hashCode() -
newBuilder
public static ExtractJobConfiguration.Builder newBuilder(TableId sourceTable, String destinationUri) Creates a builder for a BigQuery Extract Job configuration given source table and destination URI. -
newBuilder
public static ExtractJobConfiguration.Builder newBuilder(ModelId sourceModel, String destinationUri) Creates a builder for a BigQuery Extract Job configuration given source model and destination URI. -
newBuilder
public static ExtractJobConfiguration.Builder newBuilder(TableId sourceTable, List<String> destinationUris) Creates a builder for a BigQuery Extract Job configuration given source table and destination URIs. -
newBuilder
public static ExtractJobConfiguration.Builder newBuilder(ModelId sourceModel, List<String> destinationUris) Creates a builder for a BigQuery Extract Job configuration given source model and destination URIs. -
of
Returns a BigQuery Extract Job configuration for the given source table and destination URI. -
of
Returns a BigQuery Extract Job configuration for the given source model and destination URI. -
of
Returns a BigQuery Extract Job configuration for the given source table and destination URIs. -
of
Returns a BigQuery Extract Job configuration for the given source model and destination URIs. -
of
Returns a BigQuery Extract Job configuration for the given source table, format and destination URI. -
of
Returns a BigQuery Extract Job configuration for the given source model, format and destination URI. -
of
public static ExtractJobConfiguration of(TableId sourceTable, List<String> destinationUris, String format) Returns a BigQuery Extract Job configuration for the given source table, format and destination URIs. -
of
public static ExtractJobConfiguration of(ModelId sourceModel, List<String> destinationUris, String format) Returns a BigQuery Extract Job configuration for the given source table, format and destination URIs.
-