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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to