Add javadoc note to LeafCollector#finish (#12643)

This commit is contained in:
Greg Miller 2023-10-13 07:03:24 -07:00 committed by GitHub
parent afc990cd2b
commit 681975d6e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -125,6 +125,9 @@ public interface LeafCollector {
* is typically useful to compile data that has been collected on this leaf, e.g. to convert facet
* counts on leaf ordinals to facet counts on global ordinals. The default implementation does
* nothing.
*
* <p>Note: It can be assumed that this method will only be called once per LeafCollector
* instance.
*/
default void finish() throws IOException {}
}