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.
|
TableId |
getSourceTable()
Returns the table to export.
|
int |
hashCode() |
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(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 List<String> getDestinationUris()
public Boolean printHeader()
public String getFieldDelimiter()
public String getFormat()
public String getCompression()
public ExtractJobConfiguration.Builder toBuilder()
JobConfiguration
toBuilder
in class JobConfiguration
public static ExtractJobConfiguration.Builder newBuilder(TableId sourceTable, String destinationUri)
public static ExtractJobConfiguration.Builder newBuilder(TableId sourceTable, List<String> destinationUris)
public static ExtractJobConfiguration of(TableId sourceTable, String destinationUri)
public static ExtractJobConfiguration of(TableId sourceTable, List<String> destinationUris)
public static ExtractJobConfiguration of(TableId sourceTable, String destinationUri, String format)
public static ExtractJobConfiguration of(TableId sourceTable, List<String> destinationUris, String format)
Copyright © 2019 Google LLC. All rights reserved.