reschke commented on code in PR #2625:
URL: https://github.com/apache/jackrabbit-oak/pull/2625#discussion_r2569527991
##########
oak-jackrabbit-api/src/main/java/org/apache/jackrabbit/api/JackrabbitNode.java:
##########
@@ -103,4 +103,13 @@ void setMixins(String[] mixinNames)
return null;
}
}
+
+ /**
+ * Returns the <em>estimated</em> number of child nodes (can be incorrect)
+ * @return number of nodes or {@code -1} when unknown (or not supported by
the implementation)
+ * @throws RepositoryException
+ */
+ default long getEstimatedChildNodeCount() throws RepositoryException {
Review Comment:
OK; I wan't convinced it does. Let me create a test case.
--
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]