Skip to content

Commit

Permalink
Remove page size snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
shinfan committed Sep 16, 2016
1 parent 45971a5 commit 81d5373
Showing 1 changed file with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,23 +115,6 @@ public Page<Table> listDataset() {
// [END listDataset]
return tables;
}

/**
* Example of listing dataset tables with page sizes.
*/
// [TARGET list(BigQuery.TableListOption... options)]
public Page<Table> listDatasetWithPageSize(long pageSize) {
// [START listDataset]
TableListOption option = TableListOption.pageSize(pageSize);
Page<Table> tables = dataset.list(option);
Iterator<Table> tableIterator = tables.iterateAll();
while (tableIterator.hasNext()) {
Table table = tableIterator.next();
// do something with the table
}
// [END listDataset]
return tables;
}

/**
* Example of getting a dataset table.
Expand Down

0 comments on commit 81d5373

Please sign in to comment.