Class ExtractJobConfiguration (2.45.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.45.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  ExtractJobConfiguration   extends   JobConfiguration  
  Google BigQuery extract job configuration. An extract job exports a BigQuery table to Google
 Cloud Storage. The extract destination provided as URIs that point to objects in Google Cloud
 Storage. Extract job configurations have JobConfiguration.Type#EXTRACT  type.
Static Methods
   
  
  
  
    
public   static   ExtractJobConfiguration . Builder   newBuilder ( ModelId   sourceModel ,   String   destinationUri )  
  Creates a builder for a BigQuery Extract Job configuration given source model and destination
 URI.
    
      
        Parameters  
      
        Name Description  
      
        sourceModelModelId  
      
        destinationUriString  
     
  
  
  
  
  
    
public   static   ExtractJobConfiguration . Builder   newBuilder ( ModelId   sourceModel ,   List<String>   destinationUris )  
  Creates a builder for a BigQuery Extract Job configuration given source model and destination
 URIs.
    
public   static   ExtractJobConfiguration . Builder   newBuilder ( TableId   sourceTable ,   String   destinationUri )  
  Creates a builder for a BigQuery Extract Job configuration given source table and destination
 URI.
    
      
        Parameters  
      
        Name Description  
      
        sourceTableTableId  
      
        destinationUriString  
     
  
  
  
  
  
    
public   static   ExtractJobConfiguration . Builder   newBuilder ( TableId   sourceTable ,   List<String>   destinationUris )  
  Creates a builder for a BigQuery Extract Job configuration given source table and destination
 URIs.
    
public   static   ExtractJobConfiguration   of ( ModelId   sourceModel ,   String   destinationUri )  
  Returns a BigQuery Extract Job configuration for the given source model and destination URI.
    
      
        Parameters  
      
        Name Description  
      
        sourceModelModelId  
      
        destinationUriString  
     
  
  
  
  
  
    
public   static   ExtractJobConfiguration   of ( ModelId   sourceTable ,   String   destinationUri ,   String   format )  
  Returns a BigQuery Extract Job configuration for the given source model, format and destination
 URI.
    
public   static   ExtractJobConfiguration   of ( ModelId   sourceModel ,   List<String>   destinationUris )  
  Returns a BigQuery Extract Job configuration for the given source model and destination URIs.
    
public   static   ExtractJobConfiguration   of ( ModelId   sourceModel ,   List<String>   destinationUris ,   String   format )  
  Returns a BigQuery Extract Job configuration for the given source table, format and destination
 URIs.
    
public   static   ExtractJobConfiguration   of ( TableId   sourceTable ,   String   destinationUri )  
  Returns a BigQuery Extract Job configuration for the given source table and destination URI.
    
      
        Parameters  
      
        Name Description  
      
        sourceTableTableId  
      
        destinationUriString  
     
  
  
  
  
  
    
public   static   ExtractJobConfiguration   of ( TableId   sourceTable ,   String   destinationUri ,   String   format )  
  Returns a BigQuery Extract Job configuration for the given source table, format and destination
 URI.
    
public   static   ExtractJobConfiguration   of ( TableId   sourceTable ,   List<String>   destinationUris )  
  Returns a BigQuery Extract Job configuration for the given source table and destination URIs.
    
public   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.
Methods
   
  
  
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
  
  
    
public   String   getCompression ()  
  Returns the compression value of exported files.
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  
  
  
    
public   List<String>   getDestinationUris ()  
  
  
  
  
  
    
public   String   getFieldDelimiter ()  
  Returns the delimiter used between fields in the exported data.
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  
  
  
    
public   String   getFormat ()  
  Returns the exported files format.
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  
  
  
    
public   Long   getJobTimeoutMs ()  
  Returns the timeout associated with this job
    
      
        Returns  
      
        Type Description  
      
        Long  
     
  
  
  
  
    
public   Map<String , String >  getLabels ()  
  Returns the labels associated with this job
    
public   ModelId   getSourceModel ()  
  Returns the model to export.
    
public   TableId   getSourceTable ()  
  Returns the table to export.
    
public   Boolean   getUseAvroLogicalTypes ()  
  Returns True/False. Indicates whether exported avro files include logical type annotations.
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
  
  
    
public   Boolean   printHeader ()  
  Returns whether an header row is printed with the result.
    
public   ExtractJobConfiguration . 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."],[],[]]