You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by GitBox <gi...@apache.org> on 2022/07/29 16:22:40 UTC
[GitHub] [jackrabbit-oak] rishabhdaim commented on a diff in pull request #642: OAK-9873 Prefetch node states: composite node store support
rishabhdaim commented on code in PR #642:
URL: https://github.com/apache/jackrabbit-oak/pull/642#discussion_r932443554
##########
oak-core/src/main/java/org/apache/jackrabbit/oak/query/QueryOptions.java:
##########
@@ -39,6 +39,7 @@ public class QueryOptions {
public Optional<Long> limit = Optional.empty();
public Optional<Long> offset = Optional.empty();
public List<String> prefetch = Collections.emptyList();
+ public Optional<Integer> prefetchCount = Optional.empty();
Review Comment:
I think we can use `java.util.OptionalInt` here and avoid unnecessary boxes.
--
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: dev-unsubscribe@jackrabbit.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org