Skip to content

Commit 9e5c173

Browse files
committed
Merge pull request #745 from mziccard/rename-max-results
Rename maxResults to pageSize
2 parents ddd02aa + d97c188 commit 9e5c173

File tree

13 files changed

+87
-87
lines changed

13 files changed

+87
-87
lines changed

gcloud-java-bigquery/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ Then add the following code to run the query and wait for the result:
185185
QueryRequest queryRequest =
186186
QueryRequest.builder("SELECT * FROM my_dataset_id.my_table_id")
187187
.maxWaitTime(60000L)
188-
.maxResults(1000L)
188+
.pageSize(1000L)
189189
.build();
190190
// Request query to be executed and wait for results
191191
QueryResponse queryResponse = bigquery.query(queryRequest);

gcloud-java-bigquery/src/main/java/com/google/gcloud/bigquery/BigQuery.java

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,10 @@ private DatasetListOption(BigQueryRpc.Option option, Object value) {
171171
}
172172

173173
/**
174-
* Returns an option to specify the maximum number of datasets to be returned.
174+
* Returns an option to specify the maximum number of datasets returned per page.
175175
*/
176-
public static DatasetListOption maxResults(long maxResults) {
177-
return new DatasetListOption(BigQueryRpc.Option.MAX_RESULTS, maxResults);
176+
public static DatasetListOption pageSize(long pageSize) {
177+
return new DatasetListOption(BigQueryRpc.Option.MAX_RESULTS, pageSize);
178178
}
179179

180180
/**
@@ -246,11 +246,11 @@ private TableListOption(BigQueryRpc.Option option, Object value) {
246246
}
247247

248248
/**
249-
* Returns an option to specify the maximum number of tables to be returned.
249+
* Returns an option to specify the maximum number of tables returned per page.
250250
*/
251-
public static TableListOption maxResults(long maxResults) {
252-
checkArgument(maxResults >= 0);
253-
return new TableListOption(BigQueryRpc.Option.MAX_RESULTS, maxResults);
251+
public static TableListOption pageSize(long pageSize) {
252+
checkArgument(pageSize >= 0);
253+
return new TableListOption(BigQueryRpc.Option.MAX_RESULTS, pageSize);
254254
}
255255

256256
/**
@@ -295,11 +295,11 @@ private TableDataListOption(BigQueryRpc.Option option, Object value) {
295295
}
296296

297297
/**
298-
* Returns an option to specify the maximum number of rows to be returned.
298+
* Returns an option to specify the maximum number of rows returned per page.
299299
*/
300-
public static TableDataListOption maxResults(long maxResults) {
301-
checkArgument(maxResults >= 0);
302-
return new TableDataListOption(BigQueryRpc.Option.MAX_RESULTS, maxResults);
300+
public static TableDataListOption pageSize(long pageSize) {
301+
checkArgument(pageSize >= 0);
302+
return new TableDataListOption(BigQueryRpc.Option.MAX_RESULTS, pageSize);
303303
}
304304

305305
/**
@@ -352,11 +352,11 @@ public String apply(JobStatus.State state) {
352352
}
353353

354354
/**
355-
* Returns an option to specify the maximum number of jobs to be returned.
355+
* Returns an option to specify the maximum number of jobs returned per page.
356356
*/
357-
public static JobListOption maxResults(long maxResults) {
358-
checkArgument(maxResults >= 0);
359-
return new JobListOption(BigQueryRpc.Option.MAX_RESULTS, maxResults);
357+
public static JobListOption pageSize(long pageSize) {
358+
checkArgument(pageSize >= 0);
359+
return new JobListOption(BigQueryRpc.Option.MAX_RESULTS, pageSize);
360360
}
361361

362362
/**
@@ -418,11 +418,11 @@ private QueryResultsOption(BigQueryRpc.Option option, Object value) {
418418
}
419419

420420
/**
421-
* Returns an option to specify the maximum number of rows to be returned.
421+
* Returns an option to specify the maximum number of rows returned per page.
422422
*/
423-
public static QueryResultsOption maxResults(long maxResults) {
424-
checkArgument(maxResults >= 0);
425-
return new QueryResultsOption(BigQueryRpc.Option.MAX_RESULTS, maxResults);
423+
public static QueryResultsOption pageSize(long pageSize) {
424+
checkArgument(pageSize >= 0);
425+
return new QueryResultsOption(BigQueryRpc.Option.MAX_RESULTS, pageSize);
426426
}
427427

428428
/**

gcloud-java-bigquery/src/main/java/com/google/gcloud/bigquery/QueryRequest.java

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
* QueryRequest request = QueryRequest.builder("SELECT field FROM table")
4141
* .defaultDataset(DatasetId.of("dataset"))
4242
* .maxWaitTime(60000L)
43-
* .maxResults(1000L)
43+
* .pageSize(1000L)
4444
* .build();
4545
* QueryResponse response = bigquery.query(request);
4646
* while (!response.jobCompleted()) {
@@ -65,7 +65,7 @@ public class QueryRequest implements Serializable {
6565
private static final long serialVersionUID = -8727328332415880852L;
6666

6767
private final String query;
68-
private final Long maxResults;
68+
private final Long pageSize;
6969
private final DatasetId defaultDataset;
7070
private final Long maxWaitTime;
7171
private final Boolean dryRun;
@@ -74,7 +74,7 @@ public class QueryRequest implements Serializable {
7474
public static final class Builder {
7575

7676
private String query;
77-
private Long maxResults;
77+
private Long pageSize;
7878
private DatasetId defaultDataset;
7979
private Long maxWaitTime;
8080
private Boolean dryRun;
@@ -96,8 +96,8 @@ public Builder query(String query) {
9696
* query result set is large. In addition to this limit, responses are also limited to 10 MB.
9797
* By default, there is no maximum row count, and only the byte limit applies.
9898
*/
99-
public Builder maxResults(Long maxResults) {
100-
this.maxResults = maxResults;
99+
public Builder pageSize(Long pageSize) {
100+
this.pageSize = pageSize;
101101
return this;
102102
}
103103

@@ -157,7 +157,7 @@ public QueryRequest build() {
157157

158158
private QueryRequest(Builder builder) {
159159
query = builder.query;
160-
maxResults = builder.maxResults;
160+
pageSize = builder.pageSize;
161161
defaultDataset = builder.defaultDataset;
162162
maxWaitTime = builder.maxWaitTime;
163163
dryRun = builder.dryRun;
@@ -174,8 +174,8 @@ public String query() {
174174
/**
175175
* Returns the maximum number of rows of data to return per page of results.
176176
*/
177-
public Long maxResults() {
178-
return maxResults;
177+
public Long pageSize() {
178+
return pageSize;
179179
}
180180

181181
/**
@@ -224,7 +224,7 @@ public Boolean useQueryCache() {
224224
public Builder toBuilder() {
225225
return new Builder()
226226
.query(query)
227-
.maxResults(maxResults)
227+
.pageSize(pageSize)
228228
.defaultDataset(defaultDataset)
229229
.maxWaitTime(maxWaitTime)
230230
.dryRun(dryRun)
@@ -235,7 +235,7 @@ public Builder toBuilder() {
235235
public String toString() {
236236
return MoreObjects.toStringHelper(this)
237237
.add("query", query)
238-
.add("maxResults", maxResults)
238+
.add("pageSize", pageSize)
239239
.add("defaultDataset", defaultDataset)
240240
.add("maxWaitTime", maxWaitTime)
241241
.add("dryRun", dryRun)
@@ -245,7 +245,7 @@ public String toString() {
245245

246246
@Override
247247
public int hashCode() {
248-
return Objects.hash(query, maxResults, defaultDataset, maxWaitTime, dryRun, useQueryCache);
248+
return Objects.hash(query, pageSize, defaultDataset, maxWaitTime, dryRun, useQueryCache);
249249
}
250250

251251
@Override
@@ -264,8 +264,8 @@ QueryRequest setProjectId(String projectId) {
264264
com.google.api.services.bigquery.model.QueryRequest toPb() {
265265
com.google.api.services.bigquery.model.QueryRequest queryRequestPb =
266266
new com.google.api.services.bigquery.model.QueryRequest().setQuery(query);
267-
if (maxResults != null) {
268-
queryRequestPb.setMaxResults(maxResults);
267+
if (pageSize != null) {
268+
queryRequestPb.setMaxResults(pageSize);
269269
}
270270
if (defaultDataset != null) {
271271
queryRequestPb.setDefaultDataset(defaultDataset.toPb());
@@ -299,7 +299,7 @@ public static QueryRequest of(String query) {
299299
static QueryRequest fromPb(com.google.api.services.bigquery.model.QueryRequest queryRequestPb) {
300300
Builder builder = builder(queryRequestPb.getQuery());
301301
if (queryRequestPb.getMaxResults() != null) {
302-
builder.maxResults(queryRequestPb.getMaxResults());
302+
builder.pageSize(queryRequestPb.getMaxResults());
303303
}
304304
if (queryRequestPb.getDefaultDataset() != null) {
305305
builder.defaultDataset(DatasetId.fromPb(queryRequestPb.getDefaultDataset()));

gcloud-java-bigquery/src/test/java/com/google/gcloud/bigquery/BigQueryImplTest.java

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@ public class BigQueryImplTest {
148148
private static final TableRow TABLE_ROW =
149149
new TableRow().setF(ImmutableList.of(BOOLEAN_FIELD, INTEGER_FIELD));
150150
private static final QueryRequest QUERY_REQUEST = QueryRequest.builder("SQL")
151-
.maxResults(42L)
151+
.pageSize(42L)
152152
.useQueryCache(false)
153153
.defaultDataset(DatasetId.of(DATASET))
154154
.build();
155155
private static final QueryRequest QUERY_REQUEST_WITH_PROJECT = QueryRequest.builder("SQL")
156-
.maxResults(42L)
156+
.pageSize(42L)
157157
.useQueryCache(false)
158158
.defaultDataset(DatasetId.of(PROJECT, DATASET))
159159
.build();
@@ -170,8 +170,8 @@ public class BigQueryImplTest {
170170
BigQuery.DatasetListOption.all();
171171
private static final BigQuery.DatasetListOption DATASET_LIST_PAGE_TOKEN =
172172
BigQuery.DatasetListOption.startPageToken("cursor");
173-
private static final BigQuery.DatasetListOption DATASET_LIST_MAX_RESULTS =
174-
BigQuery.DatasetListOption.maxResults(42L);
173+
private static final BigQuery.DatasetListOption DATASET_LIST_PAGE_SIZE =
174+
BigQuery.DatasetListOption.pageSize(42L);
175175
private static final Map<BigQueryRpc.Option, ?> DATASET_LIST_OPTIONS = ImmutableMap.of(
176176
BigQueryRpc.Option.ALL_DATASETS, true,
177177
BigQueryRpc.Option.PAGE_TOKEN, "cursor",
@@ -188,17 +188,17 @@ public class BigQueryImplTest {
188188
BigQuery.TableOption.fields(BigQuery.TableField.SCHEMA, BigQuery.TableField.ETAG);
189189

190190
// Table list options
191-
private static final BigQuery.TableListOption TABLE_LIST_MAX_RESULTS =
192-
BigQuery.TableListOption.maxResults(42L);
191+
private static final BigQuery.TableListOption TABLE_LIST_PAGE_SIZE =
192+
BigQuery.TableListOption.pageSize(42L);
193193
private static final BigQuery.TableListOption TABLE_LIST_PAGE_TOKEN =
194194
BigQuery.TableListOption.startPageToken("cursor");
195195
private static final Map<BigQueryRpc.Option, ?> TABLE_LIST_OPTIONS = ImmutableMap.of(
196196
BigQueryRpc.Option.MAX_RESULTS, 42L,
197197
BigQueryRpc.Option.PAGE_TOKEN, "cursor");
198198

199199
// TableData list options
200-
private static final BigQuery.TableDataListOption TABLE_DATA_LIST_MAX_RESULTS =
201-
BigQuery.TableDataListOption.maxResults(42L);
200+
private static final BigQuery.TableDataListOption TABLE_DATA_LIST_PAGE_SIZE =
201+
BigQuery.TableDataListOption.pageSize(42L);
202202
private static final BigQuery.TableDataListOption TABLE_DATA_LIST_PAGE_TOKEN =
203203
BigQuery.TableDataListOption.startPageToken("cursor");
204204
private static final BigQuery.TableDataListOption TABLE_DATA_LIST_START_INDEX =
@@ -221,8 +221,8 @@ public class BigQueryImplTest {
221221
BigQuery.JobListOption.stateFilter(JobStatus.State.DONE, JobStatus.State.PENDING);
222222
private static final BigQuery.JobListOption JOB_LIST_PAGE_TOKEN =
223223
BigQuery.JobListOption.startPageToken("cursor");
224-
private static final BigQuery.JobListOption JOB_LIST_MAX_RESULTS =
225-
BigQuery.JobListOption.maxResults(42L);
224+
private static final BigQuery.JobListOption JOB_LIST_PAGE_SIZE =
225+
BigQuery.JobListOption.pageSize(42L);
226226
private static final Map<BigQueryRpc.Option, ?> JOB_LIST_OPTIONS = ImmutableMap.of(
227227
BigQueryRpc.Option.ALL_USERS, true,
228228
BigQueryRpc.Option.STATE_FILTER, ImmutableList.of("done", "pending"),
@@ -236,8 +236,8 @@ public class BigQueryImplTest {
236236
BigQuery.QueryResultsOption.startIndex(1024L);
237237
private static final BigQuery.QueryResultsOption QUERY_RESULTS_OPTION_PAGE_TOKEN =
238238
BigQuery.QueryResultsOption.startPageToken("cursor");
239-
private static final BigQuery.QueryResultsOption QUERY_RESULTS_OPTION_MAX_RESULTS =
240-
BigQuery.QueryResultsOption.maxResults(0L);
239+
private static final BigQuery.QueryResultsOption QUERY_RESULTS_OPTION_PAGE_SIZE =
240+
BigQuery.QueryResultsOption.pageSize(0L);
241241
private static final Map<BigQueryRpc.Option, ?> QUERY_RESULTS_OPTIONS = ImmutableMap.of(
242242
BigQueryRpc.Option.TIMEOUT, 42L,
243243
BigQueryRpc.Option.START_INDEX, 1024L,
@@ -388,7 +388,7 @@ public void testListDatasetsWithOptions() {
388388
EasyMock.expect(bigqueryRpcMock.listDatasets(DATASET_LIST_OPTIONS)).andReturn(result);
389389
EasyMock.replay(bigqueryRpcMock);
390390
Page<Dataset> page = bigquery.listDatasets(DATASET_LIST_ALL, DATASET_LIST_PAGE_TOKEN,
391-
DATASET_LIST_MAX_RESULTS);
391+
DATASET_LIST_PAGE_SIZE);
392392
assertEquals(cursor, page.nextPageCursor());
393393
assertArrayEquals(datasetList.toArray(), Iterables.toArray(page.values(), DatasetInfo.class));
394394
}
@@ -560,7 +560,7 @@ public void testListTablesWithOptions() {
560560
Tuple.of(cursor, Iterables.transform(tableList, TableInfo.TO_PB_FUNCTION));
561561
EasyMock.expect(bigqueryRpcMock.listTables(DATASET, TABLE_LIST_OPTIONS)).andReturn(result);
562562
EasyMock.replay(bigqueryRpcMock);
563-
Page<Table> page = bigquery.listTables(DATASET, TABLE_LIST_MAX_RESULTS, TABLE_LIST_PAGE_TOKEN);
563+
Page<Table> page = bigquery.listTables(DATASET, TABLE_LIST_PAGE_SIZE, TABLE_LIST_PAGE_TOKEN);
564564
assertEquals(cursor, page.nextPageCursor());
565565
assertArrayEquals(tableList.toArray(), Iterables.toArray(page.values(), Table.class));
566566
}
@@ -733,7 +733,7 @@ public void testListTableDataWithOptions() {
733733
EasyMock.replay(bigqueryRpcMock);
734734
bigquery = options.service();
735735
Page<List<FieldValue>> page = bigquery.listTableData(DATASET, TABLE,
736-
TABLE_DATA_LIST_MAX_RESULTS, TABLE_DATA_LIST_PAGE_TOKEN, TABLE_DATA_LIST_START_INDEX);
736+
TABLE_DATA_LIST_PAGE_SIZE, TABLE_DATA_LIST_PAGE_TOKEN, TABLE_DATA_LIST_START_INDEX);
737737
assertEquals(cursor, page.nextPageCursor());
738738
assertArrayEquals(tableData.toArray(), Iterables.toArray(page.values(), List.class));
739739
}
@@ -859,7 +859,7 @@ public com.google.api.services.bigquery.model.Job apply(Job job) {
859859
EasyMock.expect(bigqueryRpcMock.listJobs(JOB_LIST_OPTIONS)).andReturn(result);
860860
EasyMock.replay(bigqueryRpcMock);
861861
Page<Job> page = bigquery.listJobs(JOB_LIST_ALL_USERS, JOB_LIST_STATE_FILTER,
862-
JOB_LIST_PAGE_TOKEN, JOB_LIST_MAX_RESULTS);
862+
JOB_LIST_PAGE_TOKEN, JOB_LIST_PAGE_SIZE);
863863
assertEquals(cursor, page.nextPageCursor());
864864
assertArrayEquals(jobList.toArray(), Iterables.toArray(page.values(), Job.class));
865865
}
@@ -1012,7 +1012,7 @@ public void testGetQueryResultsWithOptions() {
10121012
EasyMock.replay(bigqueryRpcMock);
10131013
bigquery = options.service();
10141014
QueryResponse response = bigquery.getQueryResults(queryJob, QUERY_RESULTS_OPTION_TIME,
1015-
QUERY_RESULTS_OPTION_INDEX, QUERY_RESULTS_OPTION_MAX_RESULTS,
1015+
QUERY_RESULTS_OPTION_INDEX, QUERY_RESULTS_OPTION_PAGE_SIZE,
10161016
QUERY_RESULTS_OPTION_PAGE_TOKEN);
10171017
assertEquals(queryJob, response.jobId());
10181018
assertEquals(true, response.jobCompleted());

gcloud-java-bigquery/src/test/java/com/google/gcloud/bigquery/DatasetTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,11 @@ public void testListWithOptions() throws Exception {
260260
new Table(serviceMockReturnsOptions, new Table.BuilderImpl(TABLE_INFO3)));
261261
PageImpl<Table> expectedPage = new PageImpl<>(null, "c", tableResults);
262262
expect(bigquery.options()).andReturn(mockOptions);
263-
expect(bigquery.listTables(DATASET_INFO.datasetId(), BigQuery.TableListOption.maxResults(10L)))
263+
expect(bigquery.listTables(DATASET_INFO.datasetId(), BigQuery.TableListOption.pageSize(10L)))
264264
.andReturn(expectedPage);
265265
replay(bigquery);
266266
initializeDataset();
267-
Page<Table> tablePage = dataset.list(BigQuery.TableListOption.maxResults(10L));
267+
Page<Table> tablePage = dataset.list(BigQuery.TableListOption.pageSize(10L));
268268
assertArrayEquals(tableResults.toArray(), Iterables.toArray(tablePage.values(), Table.class));
269269
assertEquals(expectedPage.nextPageCursor(), tablePage.nextPageCursor());
270270
}

gcloud-java-bigquery/src/test/java/com/google/gcloud/bigquery/QueryRequestTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ public class QueryRequestTest {
2929
private static final DatasetId DATASET_ID = DatasetId.of("dataset");
3030
private static final Boolean USE_QUERY_CACHE = true;
3131
private static final Boolean DRY_RUN = false;
32-
private static final Long MAX_RESULTS = 42L;
32+
private static final Long PAGE_SIZE = 42L;
3333
private static final Long MAX_WAIT_TIME = 42000L;
3434
private static final QueryRequest QUERY_REQUEST = QueryRequest.builder(QUERY)
3535
.useQueryCache(USE_QUERY_CACHE)
3636
.defaultDataset(DATASET_ID)
3737
.dryRun(DRY_RUN)
38-
.maxResults(MAX_RESULTS)
38+
.pageSize(PAGE_SIZE)
3939
.maxWaitTime(MAX_WAIT_TIME)
4040
.build();
4141

@@ -65,7 +65,7 @@ public void testBuilder() {
6565
assertEquals(USE_QUERY_CACHE, QUERY_REQUEST.useQueryCache());
6666
assertEquals(DATASET_ID, QUERY_REQUEST.defaultDataset());
6767
assertEquals(DRY_RUN, QUERY_REQUEST.dryRun());
68-
assertEquals(MAX_RESULTS, QUERY_REQUEST.maxResults());
68+
assertEquals(PAGE_SIZE, QUERY_REQUEST.pageSize());
6969
assertEquals(MAX_WAIT_TIME, QUERY_REQUEST.maxWaitTime());
7070
thrown.expect(NullPointerException.class);
7171
QueryRequest.builder(null);
@@ -78,7 +78,7 @@ public void testOf() {
7878
assertNull(request.useQueryCache());
7979
assertNull(request.defaultDataset());
8080
assertNull(request.dryRun());
81-
assertNull(request.maxResults());
81+
assertNull(request.pageSize());
8282
assertNull(request.maxWaitTime());
8383
thrown.expect(NullPointerException.class);
8484
QueryRequest.of(null);
@@ -102,7 +102,7 @@ private void compareQueryRequest(QueryRequest expected, QueryRequest value) {
102102
assertEquals(expected.useQueryCache(), value.useQueryCache());
103103
assertEquals(expected.defaultDataset(), value.defaultDataset());
104104
assertEquals(expected.dryRun(), value.dryRun());
105-
assertEquals(expected.maxResults(), value.maxResults());
105+
assertEquals(expected.pageSize(), value.pageSize());
106106
assertEquals(expected.maxWaitTime(), value.maxWaitTime());
107107
}
108108
}

gcloud-java-bigquery/src/test/java/com/google/gcloud/bigquery/SerializationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ public class SerializationTest {
207207
.useQueryCache(true)
208208
.defaultDataset(DATASET_ID)
209209
.dryRun(false)
210-
.maxResults(42L)
210+
.pageSize(42L)
211211
.maxWaitTime(10L)
212212
.build();
213213
private static final QueryResult QUERY_RESULT = QueryResult.builder()
@@ -261,7 +261,7 @@ public void testModelAndRequests() throws Exception {
261261
INSERT_ALL_RESPONSE, FIELD_VALUE, QUERY_REQUEST, QUERY_RESPONSE,
262262
BigQuery.DatasetOption.fields(), BigQuery.DatasetDeleteOption.deleteContents(),
263263
BigQuery.DatasetListOption.all(), BigQuery.TableOption.fields(),
264-
BigQuery.TableListOption.maxResults(42L), BigQuery.JobOption.fields(),
264+
BigQuery.TableListOption.pageSize(42L), BigQuery.JobOption.fields(),
265265
BigQuery.JobListOption.allUsers(), DATASET, TABLE, JOB};
266266
for (Serializable obj : objects) {
267267
Object copy = serializeAndDeserialize(obj);

gcloud-java-bigquery/src/test/java/com/google/gcloud/bigquery/TableTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,11 +286,11 @@ public void testListWithOptions() throws Exception {
286286
initializeExpectedTable(1);
287287
expect(bigquery.options()).andReturn(mockOptions);
288288
PageImpl<List<FieldValue>> tableDataPage = new PageImpl<>(null, "c", ROWS);
289-
expect(bigquery.listTableData(TABLE_ID1, BigQuery.TableDataListOption.maxResults(10L)))
289+
expect(bigquery.listTableData(TABLE_ID1, BigQuery.TableDataListOption.pageSize(10L)))
290290
.andReturn(tableDataPage);
291291
replay(bigquery);
292292
initializeTable();
293-
Page<List<FieldValue>> dataPage = table.list(BigQuery.TableDataListOption.maxResults(10L));
293+
Page<List<FieldValue>> dataPage = table.list(BigQuery.TableDataListOption.pageSize(10L));
294294
Iterator<List<FieldValue>> tableDataIterator = tableDataPage.values().iterator();
295295
Iterator<List<FieldValue>> dataIterator = dataPage.values().iterator();
296296
assertTrue(Iterators.elementsEqual(tableDataIterator, dataIterator));

0 commit comments

Comments
 (0)