Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@
* An interface for Google Cloud BigQuery.
*
* <p>Provides synchronous operations to manage BigQuery resources ({@link Dataset}, {@link Table},
* {@link Model}, {@link Routine}), run SQL queries ({@link #query(QueryJobConfiguration,
* JobOption...)}), submit and monitor asynchronous {@link Job}s, and ingest data ({@link #writer},
* {@link #insertAll}).
* {@link Model}, {@link Routine}), run SQL queries ({@link #query}), submit and monitor
* asynchronous {@link Job}s, and ingest data ({@link #writer}, {@link #insertAll}).
*
* <p>Typically, create one {@code BigQuery} instance per application via {@link
* BigQueryOptions#getService()} and reuse it across threads. Call {@link #close()} on application
Expand Down Expand Up @@ -1483,7 +1482,7 @@ TableResult listTableData(

/**
* Returns the requested job or {@code null} if not found. If the location of the job is not "US"
* or "EU", {@link #getJob(JobId, JobOption...)} must be used instead.
* or "EU", {@link #getJob(JobId, BigQuery.JobOption[])} must be used instead.
*
* <p>Example of getting a job.
*
Expand Down Expand Up @@ -1587,8 +1586,8 @@ TableResult listTableData(
/**
* Runs the query associated with the request, using an internally-generated random JobId.
*
* <p>If the location of the job is not "US" or "EU", {@link #query(QueryJobConfiguration, JobId,
* JobOption...)} must be used instead.
* <p>If the location of the job is not "US" or "EU", specify the job location via {@link
* #query(QueryJobConfiguration, JobId, BigQuery.JobOption[])} instead.
*
* <p>This method cannot be used in conjuction with {@link QueryJobConfiguration#dryRun()}
* queries. Since dry-run queries are not actually executed, there's no way to retrieve results.
Expand Down Expand Up @@ -1626,8 +1625,8 @@ TableResult query(QueryJobConfiguration configuration, JobOption... options)
* <p>This method cannot be used in conjunction with {@link QueryJobConfiguration#dryRun()}
* queries. Since dry-run queries are not actually executed, there's no way to retrieve results.
*
* <p>See {@link #query(QueryJobConfiguration, JobOption...)} for examples on populating a {@link
* QueryJobConfiguration}.
* <p>See {@link #query(QueryJobConfiguration, BigQuery.JobOption[])} for examples on populating a
* {@link QueryJobConfiguration}.
*
* @throws BigQueryException upon failure
* @throws InterruptedException if the current thread gets interrupted while waiting for the query
Expand Down Expand Up @@ -1715,8 +1714,8 @@ default ArrowQueryResult queryArrow(
* <p>This method cannot be used in conjunction with {@link QueryJobConfiguration#dryRun()}
* queries. Since dry-run queries are not actually executed, there's no way to retrieve results.
*
* <p>See {@link #query(QueryJobConfiguration, JobOption...)} for examples on populating a {@link
* QueryJobConfiguration}.
* <p>See {@link #query(QueryJobConfiguration, BigQuery.JobOption[])} for examples on populating a
* {@link QueryJobConfiguration}.
*
* @throws BigQueryException upon failure
* @throws InterruptedException if the current thread gets interrupted while waiting for the query
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -455,10 +455,11 @@ public DatasetId getDatasetId() {
* <p>Each {@link Acl} entry is immutable. Calling {@code acls.add(...)} appends a new entry to
* the dataset's access list; to modify an existing {@link Acl} (for example, to change its {@link
* Acl.Role} or {@link Acl.Expr} condition), remove the existing entry from the copied list and
* add a new {@link Acl} before calling {@link BigQuery#update(DatasetInfo,
* BigQuery.DatasetOption...)}. When reading or updating conditional ACLs ({@link Acl.Expr}), pass
* {@link BigQuery.DatasetOption#accessPolicyVersion(Integer)
* DatasetOption.accessPolicyVersion(3)} to {@code getDataset} and {@code update}.
* add a new {@link Acl}.
*
* <p>Apply the updated list via {@link BigQuery#update(DatasetInfo, BigQuery.DatasetOption[])}.
* When reading or updating conditional ACLs ({@link Acl.Expr}), pass {@link
* BigQuery.DatasetOption#accessPolicyVersion(Integer)} to {@code getDataset} and {@code update}.
*
* <p>Append a new ACL entry to a dataset:
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,9 @@ public boolean delete() {
*
* <p>Streaming inserts reside temporarily in the streaming buffer, which has different
* availability characteristics than managed storage. Certain operations do not interact with the
* streaming buffer, such as {@link #list(TableDataListOption...)} and {@link #copy(TableId,
* JobOption...)}. As such, recent streaming data will not be present in the destination table or
* output.
* streaming buffer, such as {@link #list(BigQuery.TableDataListOption[])}. You can also copy the
* table using {@link #copy(TableId, BigQuery.JobOption[])}. As such, recent streaming data will
* not be present in the destination table or output.
*
* <p>Example of inserting rows into the table.
*
Expand Down Expand Up @@ -357,9 +357,9 @@ public InsertAllResponse insert(Iterable<InsertAllRequest.RowToInsert> rows)
*
* <p>Streaming inserts reside temporarily in the streaming buffer, which has different
* availability characteristics than managed storage. Certain operations do not interact with the
* streaming buffer, such as {@link #list(TableDataListOption...)} and {@link #copy(TableId,
* JobOption...)}. As such, recent streaming data will not be present in the destination table or
* output.
* streaming buffer, such as {@link #list(BigQuery.TableDataListOption[])}. You can also copy the
* table using {@link #copy(TableId, BigQuery.JobOption[])}. As such, recent streaming data will
* not be present in the destination table or output.
*
* <p>Example of inserting rows into the table, ignoring invalid rows.
*
Expand Down
Loading