publicfinalclass ExtractJobConfigurationextendsJobConfiguration
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.
Static Methods
publicstaticExtractJobConfiguration.BuildernewBuilder(ModelIdsourceModel,StringdestinationUri)
Creates a builder for a BigQuery Extract Job configuration given source model and destination
URI.
| Parameters |
| Name |
Description |
sourceModel |
ModelId
|
destinationUri |
String
|
publicstaticExtractJobConfiguration.BuildernewBuilder(ModelIdsourceModel,List<String>destinationUris)
Creates a builder for a BigQuery Extract Job configuration given source model and destination
URIs.
publicstaticExtractJobConfiguration.BuildernewBuilder(TableIdsourceTable,StringdestinationUri)
Creates a builder for a BigQuery Extract Job configuration given source table and destination
URI.
| Parameters |
| Name |
Description |
sourceTable |
TableId
|
destinationUri |
String
|
publicstaticExtractJobConfiguration.BuildernewBuilder(TableIdsourceTable,List<String>destinationUris)
Creates a builder for a BigQuery Extract Job configuration given source table and destination
URIs.
publicstaticExtractJobConfigurationof(ModelIdsourceModel,StringdestinationUri)
Returns a BigQuery Extract Job configuration for the given source model and destination URI.
| Parameters |
| Name |
Description |
sourceModel |
ModelId
|
destinationUri |
String
|
publicstaticExtractJobConfigurationof(ModelIdsourceTable,StringdestinationUri,Stringformat)
Returns a BigQuery Extract Job configuration for the given source model, format and destination
URI.
publicstaticExtractJobConfigurationof(ModelIdsourceModel,List<String>destinationUris)
Returns a BigQuery Extract Job configuration for the given source model and destination URIs.
publicstaticExtractJobConfigurationof(ModelIdsourceModel,List<String>destinationUris,Stringformat)
Returns a BigQuery Extract Job configuration for the given source table, format and destination
URIs.
publicstaticExtractJobConfigurationof(TableIdsourceTable,StringdestinationUri)
Returns a BigQuery Extract Job configuration for the given source table and destination URI.
| Parameters |
| Name |
Description |
sourceTable |
TableId
|
destinationUri |
String
|
publicstaticExtractJobConfigurationof(TableIdsourceTable,StringdestinationUri,Stringformat)
Returns a BigQuery Extract Job configuration for the given source table, format and destination
URI.
publicstaticExtractJobConfigurationof(TableIdsourceTable,List<String>destinationUris)
Returns a BigQuery Extract Job configuration for the given source table and destination URIs.
publicstaticExtractJobConfigurationof(TableIdsourceTable,List<String>destinationUris,Stringformat)
Returns a BigQuery Extract Job configuration for the given source table, format and destination
URIs.
Methods
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
publicStringgetCompression()
Returns the compression value of exported files.
| Returns |
| Type |
Description |
String |
publicList<String>getDestinationUris()
publicStringgetFieldDelimiter()
Returns the delimiter used between fields in the exported data.
| Returns |
| Type |
Description |
String |
Returns the exported files format.
| Returns |
| Type |
Description |
String |
publicLonggetJobTimeoutMs()
Returns the timeout associated with this job
| Returns |
| Type |
Description |
Long |
publicMap<String,String>getLabels()
Returns the labels associated with this job
publicStringgetReservation()
Returns the reservation associated with this job
| Returns |
| Type |
Description |
String |
publicModelIdgetSourceModel()
Returns the model to export.
publicTableIdgetSourceTable()
Returns the table to export.
publicBooleangetUseAvroLogicalTypes()
Returns True/False. Indicates whether exported avro files include logical type annotations.
| Returns |
| Type |
Description |
int |
Overrides
publicBooleanprintHeader()
Returns whether an header row is printed with the result.
publicExtractJobConfiguration.BuildertoBuilder()
Returns a builder for the object.
Overrides