adelapena commented on code in PR #2125:
URL: https://github.com/apache/cassandra/pull/2125#discussion_r1130840739
##########
test/unit/org/apache/cassandra/cql3/CQLTester.java:
##########
@@ -1276,6 +1276,11 @@ protected com.datastax.driver.core.ResultSet
executeNetWithPaging(String query,
return sessionNet().execute(new
SimpleStatement(formatQuery(query)).setFetchSize(pageSize));
}
+ protected com.datastax.driver.core.ResultSet
executeNetWithoutPaging(String query)
+ {
+ return executeNetWithPaging(query, Integer.MAX_VALUE);
+ }
+
Review Comment:
`executeNet` uses the default page size, whereas `executeNetWithPaging`
allows to specify an ad-hoc page size for the query. The new method is a
shortcut to run the query with paging disabled, which is required by
post-ordering.
Currently the only caller is `ColumnMaskTest`, but I think it can be useful
for other tests to have that utility method on `CQLTester`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]