Skip to content

Commit

Permalink
reformat the test
Browse files Browse the repository at this point in the history
  • Loading branch information
xingyutangyuan committed Dec 3, 2023
1 parent 0e98eed commit b5da8c0
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,14 @@ public final class ParameterizedQuery {

private ParameterizedQuery(String query, Map<String, QueryParameterValue> parameters) {
this.query = requireNonNull(query);
// Defensive copy. Not worth pulling in Guava dependency just for this
this.parameters = Collections.unmodifiableMap(new LinkedHashMap<>(parameters));
}

/**
* Convenience method when you need to create the {@link ParameterizedQuery} inline, with
* both the query template and the arguments.
*
* Convenience method when you need to create the {@link ParameterizedQuery} inline, with both the
* query template and the arguments.
*
* <p>For example:
*
* <pre>{@code
Expand Down Expand Up @@ -135,9 +136,9 @@ public static StringFormat.To<ParameterizedQuery> template(@CompileTimeConstant

/**
* Sends this query to BigQuery using the default options.
*
* <p>To use alternative options, pass {@link #jobConfiguration} to the {link BigQueryOptions}
* of your choice.
*
* <p>To use alternative options, pass {@link #jobConfiguration} to the {link BigQueryOptions} of
* your choice.
*/
public TableResult run() throws JobException, InterruptedException {
return BigQueryOptions.getDefaultInstance().getService().query(jobConfiguration());
Expand Down

0 comments on commit b5da8c0

Please sign in to comment.