Class CopyJobConfiguration (2.33.2) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.33.2keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  CopyJobConfiguration   extends   JobConfiguration  
  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.
Static Methods
   
  newBuilder(TableId destinationTable, TableId sourceTable) 
  
    
public   static   CopyJobConfiguration . Builder   newBuilder ( TableId   destinationTable ,   TableId   sourceTable )  
  Creates a builder for a BigQuery Copy Job configuration given destination and source table.
    
      
        Parameters  
      
        Name Description  
      
        destinationTableTableId  
      
        sourceTableTableId  
     
  
  
  newBuilder(TableId destinationTable, List<TableId> sourceTables) 
  
    
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(TableId destinationTable, TableId sourceTable) 
  
    
public   static   CopyJobConfiguration   of ( TableId   destinationTable ,   TableId   sourceTable )  
  Returns a BigQuery Copy Job configuration for the given destination and source table.
    
      
        Parameters  
      
        Name Description  
      
        destinationTableTableId  
      
        sourceTableTableId  
     
  
  
  of(TableId destinationTable, List<TableId> sourceTables) 
  
    
public   static   CopyJobConfiguration   of ( TableId   destinationTable ,   List<TableId>   sourceTables )  
  Returns a BigQuery Copy Job configuration for the given destination and source tables.
Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getCreateDisposition() 
  
    
public   JobInfo . CreateDisposition   getCreateDisposition ()  
  
  
  getDestinationEncryptionConfiguration() 
  
    
public   EncryptionConfiguration   getDestinationEncryptionConfiguration ()  
  
  getDestinationExpirationTime() 
  
    
public   String   getDestinationExpirationTime ()  
  Returns the time when the destination table expires
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getDestinationTable() 
  
    
public   TableId   getDestinationTable ()  
  Returns the destination table to load the data into.
getJobTimeoutMs() 
  
    
public   Long   getJobTimeoutMs ()  
  Returns the timeout associated with this job
    
      
        Returns  
      
        Type Description  
      
        Long  
     
  
  getLabels() 
  
    
public   Map<String , String >  getLabels ()  
  Returns the labels associated with this job
getOperationType() 
  
    
public   String   getOperationType ()  
  Returns the table copy job type
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getSourceTables() 
  
    
public   List<TableId>   getSourceTables ()  
  Returns the source tables to copy.
getWriteDisposition() 
  
    
public   JobInfo . WriteDisposition   getWriteDisposition ()  
  Returns the action that should occur if the destination table already exists.
See Also:   Write Disposition 
hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   CopyJobConfiguration . Builder   toBuilder ()  
  Returns a builder for the object.
Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]