@@ -42,14 +42,18 @@ public final class Table extends TableInfo {
4242 private final BigQueryOptions options ;
4343 private transient BigQuery bigquery ;
4444
45+ /**
46+ * A builder for {@code Table} objects.
47+ */
4548 public static class Builder extends TableInfo .Builder {
4649
4750 private final BigQuery bigquery ;
4851 private final TableInfo .BuilderImpl infoBuilder ;
4952
50- Builder (BigQuery bigquery ) {
53+ Builder (BigQuery bigquery , TableId tableId , TableDefinition defintion ) {
5154 this .bigquery = bigquery ;
5255 this .infoBuilder = new TableInfo .BuilderImpl ();
56+ this .infoBuilder .tableId (tableId ).definition (defintion );
5357 }
5458
5559 Builder (Table table ) {
@@ -228,7 +232,7 @@ Job copy(String destinationDataset, String destinationTable, BigQuery.JobOption.
228232
229233 /**
230234 * Starts a BigQuery Job to copy the current table to the provided destination table. Returns the
231- * started {@link Job} object. ddd
235+ * started {@link Job} object.
232236 *
233237 * @param destinationTable the destination table of the copy job
234238 * @param options job options
@@ -309,10 +313,6 @@ public BigQuery bigquery() {
309313 return bigquery ;
310314 }
311315
312- static Builder builder (BigQuery bigquery , TableId tableId , TableDefinition definition ) {
313- return new Builder (bigquery ).tableId (tableId ).definition (definition );
314- }
315-
316316 @ Override
317317 public Builder toBuilder () {
318318 return new Builder (this );
0 commit comments