Package com.google.cloud.bigquery
Class CopyJobConfiguration
java.lang.Object
com.google.cloud.bigquery.JobConfiguration
com.google.cloud.bigquery.CopyJobConfiguration
- All Implemented Interfaces:
Serializable
Google BigQuery copy job configuration. A copy job copies an existing table to another new or
existing table. Copy job configurations have
JobConfiguration.Type.COPY
type.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.cloud.bigquery.JobConfiguration
JobConfiguration.Type
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether the job is allowed to create new tables.Returns the time when the destination table expiresReturns the destination table to load the data into.Returns the timeout associated with this jobReturns the labels associated with this jobReturns the table copy job typeReturns the source tables to copy.Returns the action that should occur if the destination table already exists.int
hashCode()
static CopyJobConfiguration.Builder
newBuilder
(TableId destinationTable, TableId sourceTable) Creates a builder for a BigQuery Copy Job configuration given destination and source table.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
Returns a BigQuery Copy Job configuration for the given destination and source table.static CopyJobConfiguration
Returns a BigQuery Copy Job configuration for the given destination and source tables.Returns a builder for the object.Methods inherited from class com.google.cloud.bigquery.JobConfiguration
getType, toString
-
Method Details
-
getSourceTables
Returns the source tables to copy. -
getDestinationTable
Returns the destination table to load the data into. -
getOperationType
Returns the table copy job type -
getDestinationExpirationTime
Returns the time when the destination table expires -
getDestinationEncryptionConfiguration
-
getCreateDisposition
Returns whether the job is allowed to create new tables.- See Also:
-
getWriteDisposition
Returns the action that should occur if the destination table already exists.- See Also:
-
getLabels
Returns the labels associated with this job -
getJobTimeoutMs
Returns the timeout associated with this job -
toBuilder
Description copied from class:JobConfiguration
Returns a builder for the object.- Specified by:
toBuilder
in classJobConfiguration
-
equals
-
hashCode
public int hashCode() -
newBuilder
public static CopyJobConfiguration.Builder newBuilder(TableId destinationTable, TableId sourceTable) Creates a builder for a BigQuery Copy Job configuration given destination and source table. -
newBuilder
public static CopyJobConfiguration.Builder newBuilder(TableId destinationTable, List<TableId> sourceTables) Creates a builder for a BigQuery Copy Job configuration given destination and source tables. -
of
Returns a BigQuery Copy Job configuration for the given destination and source table. -
of
Returns a BigQuery Copy Job configuration for the given destination and source tables.
-