public final class ExtractJobConfiguration extends JobConfiguration
JobConfiguration.Type.EXTRACT
type.Modifier and Type | Class and Description |
---|---|
static class |
ExtractJobConfiguration.Builder |
JobConfiguration.Type
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCompression()
Returns the compression value of exported files.
|
List<String> |
getDestinationUris()
Returns the list of fully-qualified Google Cloud Storage URIs where the extracted table should
be written.
|
String |
getFieldDelimiter()
Returns the delimiter used between fields in the exported data.
|
String |
getFormat()
Returns the exported files format.
|
Long |
getJobTimeoutMs()
Returns the timeout associated with this job
|
Map<String,String> |
getLabels()
Returns the labels associated with this job
|
ModelId |
getSourceModel()
Returns the model to export.
|
TableId |
getSourceTable()
Returns the table to export.
|
Boolean |
getUseAvroLogicalTypes()
Returns True/False.
|
int |
hashCode() |
static ExtractJobConfiguration.Builder |
newBuilder(ModelId sourceModel,
List<String> destinationUris)
Creates a builder for a BigQuery Extract Job configuration given source model and destination
URIs.
|
static ExtractJobConfiguration.Builder |
newBuilder(ModelId sourceModel,
String destinationUri)
Creates a builder for a BigQuery Extract Job configuration given source model and destination
URI.
|
static ExtractJobConfiguration.Builder |
newBuilder(TableId sourceTable,
List<String> destinationUris)
Creates a builder for a BigQuery Extract Job configuration given source table and destination
URIs.
|
static ExtractJobConfiguration.Builder |
newBuilder(TableId sourceTable,
String destinationUri)
Creates a builder for a BigQuery Extract Job configuration given source table and destination
URI.
|
static ExtractJobConfiguration |
of(ModelId sourceModel,
List<String> destinationUris)
Returns a BigQuery Extract Job configuration for the given source model and destination URIs.
|
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.
|
static ExtractJobConfiguration |
of(ModelId sourceModel,
String destinationUri)
Returns a BigQuery Extract Job configuration for the given source model and destination URI.
|
static ExtractJobConfiguration |
of(ModelId sourceTable,
String destinationUri,
String format)
Returns a BigQuery Extract Job configuration for the given source model, format and destination
URI.
|
static ExtractJobConfiguration |
of(TableId sourceTable,
List<String> destinationUris)
Returns a BigQuery Extract Job configuration for the given source table and destination URIs.
|
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.
|
static ExtractJobConfiguration |
of(TableId sourceTable,
String destinationUri)
Returns a BigQuery Extract Job configuration for the given source table and destination URI.
|
static ExtractJobConfiguration |
of(TableId sourceTable,
String destinationUri,
String format)
Returns a BigQuery Extract Job configuration for the given source table, format and destination
URI.
|
Boolean |
printHeader()
Returns whether an header row is printed with the result.
|
ExtractJobConfiguration.Builder |
toBuilder()
Returns a builder for the object.
|
getType, toString
public TableId getSourceTable()
public ModelId getSourceModel()
public List<String> getDestinationUris()
public Boolean printHeader()
public String getFieldDelimiter()
public String getFormat()
public String getCompression()
public Boolean getUseAvroLogicalTypes()
public Long getJobTimeoutMs()
public ExtractJobConfiguration.Builder toBuilder()
JobConfiguration
toBuilder
in class JobConfiguration
public static ExtractJobConfiguration.Builder newBuilder(TableId sourceTable, String destinationUri)
public static ExtractJobConfiguration.Builder newBuilder(ModelId sourceModel, String destinationUri)
public static ExtractJobConfiguration.Builder newBuilder(TableId sourceTable, List<String> destinationUris)
public static ExtractJobConfiguration.Builder newBuilder(ModelId sourceModel, List<String> destinationUris)
public static ExtractJobConfiguration of(TableId sourceTable, String destinationUri)
public static ExtractJobConfiguration of(ModelId sourceModel, String destinationUri)
public static ExtractJobConfiguration of(TableId sourceTable, List<String> destinationUris)
public static ExtractJobConfiguration of(ModelId sourceModel, List<String> destinationUris)
public static ExtractJobConfiguration of(TableId sourceTable, String destinationUri, String format)
public static ExtractJobConfiguration of(ModelId sourceTable, String destinationUri, String format)
public static ExtractJobConfiguration of(TableId sourceTable, List<String> destinationUris, String format)
public static ExtractJobConfiguration of(ModelId sourceModel, List<String> destinationUris, String format)
Copyright © 2023 Google LLC. All rights reserved.