File tree Expand file tree Collapse file tree
google-cloud-examples/src/main/java/com/google/cloud/examples/bigquery/snippets Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,23 +115,6 @@ public Page<Table> listDataset() {
115115 // [END listDataset]
116116 return tables ;
117117 }
118-
119- /**
120- * Example of listing dataset tables with page sizes.
121- */
122- // [TARGET list(BigQuery.TableListOption... options)]
123- public Page <Table > listDatasetWithPageSize (long pageSize ) {
124- // [START listDataset]
125- TableListOption option = TableListOption .pageSize (pageSize );
126- Page <Table > tables = dataset .list (option );
127- Iterator <Table > tableIterator = tables .iterateAll ();
128- while (tableIterator .hasNext ()) {
129- Table table = tableIterator .next ();
130- // do something with the table
131- }
132- // [END listDataset]
133- return tables ;
134- }
135118
136119 /**
137120 * Example of getting a dataset table.
You can’t perform that action at this time.
0 commit comments