public final class CopyJobConfiguration extends JobConfiguration
JobConfiguration.Type.COPY
type.Modifier and Type | Class and Description |
---|---|
static class |
CopyJobConfiguration.Builder |
JobConfiguration.Type
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
JobInfo.CreateDisposition |
getCreateDisposition()
Returns whether the job is allowed to create new tables.
|
EncryptionConfiguration |
getDestinationEncryptionConfiguration() |
String |
getDestinationExpirationTime()
Returns the time when the destination table expires
|
TableId |
getDestinationTable()
Returns the destination table to load the data into.
|
Long |
getJobTimeoutMs()
Returns the timeout associated with this job
|
Map<String,String> |
getLabels()
Returns the labels associated with this job
|
String |
getOperationType()
Returns the table copy job type
|
List<TableId> |
getSourceTables()
Returns the source tables to copy.
|
JobInfo.WriteDisposition |
getWriteDisposition()
Returns the action that should occur if the destination table already exists.
|
int |
hashCode() |
static CopyJobConfiguration.Builder |
newBuilder(TableId destinationTable,
List<TableId> sourceTables)
Creates a builder for a BigQuery Copy Job configuration given destination and source tables.
|
static CopyJobConfiguration.Builder |
newBuilder(TableId destinationTable,
TableId sourceTable)
Creates a builder for a BigQuery Copy Job configuration given destination and source table.
|
static CopyJobConfiguration |
of(TableId destinationTable,
List<TableId> sourceTables)
Returns a BigQuery Copy Job configuration for the given destination and source tables.
|
static CopyJobConfiguration |
of(TableId destinationTable,
TableId sourceTable)
Returns a BigQuery Copy Job configuration for the given destination and source table.
|
CopyJobConfiguration.Builder |
toBuilder()
Returns a builder for the object.
|
getType, toString
public TableId getDestinationTable()
public String getOperationType()
public String getDestinationExpirationTime()
public EncryptionConfiguration getDestinationEncryptionConfiguration()
public JobInfo.CreateDisposition getCreateDisposition()
public JobInfo.WriteDisposition getWriteDisposition()
public Long getJobTimeoutMs()
public CopyJobConfiguration.Builder toBuilder()
JobConfiguration
toBuilder
in class JobConfiguration
public static CopyJobConfiguration.Builder newBuilder(TableId destinationTable, TableId sourceTable)
public static CopyJobConfiguration.Builder newBuilder(TableId destinationTable, List<TableId> sourceTables)
public static CopyJobConfiguration of(TableId destinationTable, TableId sourceTable)
public static CopyJobConfiguration of(TableId destinationTable, List<TableId> sourceTables)
Copyright © 2023 Google LLC. All rights reserved.