public Job load(FormatOptions format, List<String> sourceUris, JobOption... options)
      throws BigQueryException {
    LoadJobConfiguration loadConfig = LoadJobConfiguration.of(getTableId(), sourceUris, format);
    return bigquery.create(JobInfo.of(loadConfig), options);
  }
public Job load ( FormatOptions format , List < String > sourceUris , JobOption ... options ) throws BigQueryException { LoadJobConfiguration loadConfig = LoadJobConfiguration . of ( getTableId ( ) , sourceUris , format ) ; return bigquery . create ( JobInfo . of ( loadConfig ) , options ) ; }
Starts a BigQuery Job to load data into the current table from the provided source URIs.
Returns the started {@link Job} object.

<p>Example loading data from a list of Google Cloud Storage files.

<pre>{@code
String gcsUrl1 = "gs://my_bucket/filename1.csv";
String gcsUrl2 = "gs://my_bucket/filename2.csv";
List<String> sourceUris = new ArrayList<>();
sourceUris.add(gcsUrl1);
sourceUris.add(gcsUrl2);
Job job = table.load(FormatOptions.csv(), sourceUris);
// Wait for the job to complete
try {
Job completedJob = job.waitFor(RetryOption.initialRetryDelay(Duration.ofSeconds(1)),
RetryOption.totalTimeout(Duration.ofMinutes(3)));
if (completedJob != null && completedJob.getStatus().getError() == null) {
// Job completed successfully
} else {
// Handle error case
}
} catch (InterruptedException e) {
// Handle interrupted wait
}
}</pre>

@param format the format of the exported data
@param sourceUris the fully-qualified Google Cloud Storage URIs (e.g. gs://bucket/path) from
which to load the data
@param options job options
@throws BigQueryException upon failure