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() |
TableId |
getDestinationTable()
Returns the destination table to load the data into.
|
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 EncryptionConfiguration getDestinationEncryptionConfiguration()
public JobInfo.CreateDisposition getCreateDisposition()
public JobInfo.WriteDisposition getWriteDisposition()
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 © 2019 Google LLC. All rights reserved.