public static final class ExtractJobConfiguration.Builder extends JobConfiguration.Builder<ExtractJobConfiguration,ExtractJobConfiguration.Builder>
Modifier and Type | Method and Description |
---|---|
ExtractJobConfiguration |
build()
Creates an object.
|
ExtractJobConfiguration.Builder |
setCompression(String compression)
Sets the compression value to use for exported files.
|
ExtractJobConfiguration.Builder |
setDestinationUris(List<String> destinationUris)
Sets the list of fully-qualified Google Cloud Storage URIs (e.g.
|
ExtractJobConfiguration.Builder |
setFieldDelimiter(String fieldDelimiter)
Sets the delimiter to use between fields in the exported data.
|
ExtractJobConfiguration.Builder |
setFormat(String format)
Sets the exported file format.
|
ExtractJobConfiguration.Builder |
setJobTimeoutMs(Long jobTimeoutMs)
[Optional] Job timeout in milliseconds.
|
ExtractJobConfiguration.Builder |
setLabels(Map<String,String> labels)
The labels associated with this job.
|
ExtractJobConfiguration.Builder |
setPrintHeader(Boolean printHeader)
Sets whether to print out a header row in the results.
|
ExtractJobConfiguration.Builder |
setSourceTable(TableId sourceTable)
Sets the table to export.
|
ExtractJobConfiguration.Builder |
setUseAvroLogicalTypes(Boolean useAvroLogicalTypes)
[Optional] If destinationFormat is set to "AVRO", this flag indicates whether to enable
extracting applicable column types (such as TIMESTAMP) to their corresponding AVRO logical
types (timestamp-micros), instead of only using their raw types (avro-long).
|
public ExtractJobConfiguration.Builder setSourceTable(TableId sourceTable)
public ExtractJobConfiguration.Builder setDestinationUris(List<String> destinationUris)
public ExtractJobConfiguration.Builder setPrintHeader(Boolean printHeader)
public ExtractJobConfiguration.Builder setFieldDelimiter(String fieldDelimiter)
public ExtractJobConfiguration.Builder setFormat(String format)
public ExtractJobConfiguration.Builder setCompression(String compression)
public ExtractJobConfiguration.Builder setUseAvroLogicalTypes(Boolean useAvroLogicalTypes)
useAvroLogicalTypes
- useAvroLogicalTypes or null
for nonepublic ExtractJobConfiguration.Builder setLabels(Map<String,String> labels)
labels
- labels or null
for nonepublic ExtractJobConfiguration.Builder setJobTimeoutMs(Long jobTimeoutMs)
jobTimeoutMs
- jobTimeoutMs or null
for nonepublic ExtractJobConfiguration build()
JobConfiguration.Builder
build
in class JobConfiguration.Builder<ExtractJobConfiguration,ExtractJobConfiguration.Builder>
Copyright © 2019 Google LLC. All rights reserved.