Skip to content

Commit

Permalink
update javadoc of finish method (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
elliVM authored Nov 4, 2024
1 parent 6d276be commit f50ded3
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,10 @@ class BloomFilterAggregator(final val columnName: String,
}

/**
* Find best BloomFilter candidate for return
* @param buffer BloomFilterBuffer returned by reduce step
* @return best candidate by fpp being smaller than requested
* Write the final buffer filter into a byte array
*
* @param buffer resulting final bloom filter after aggregation process
* @return byte array of the final bloom filter
*/
override def finish(buffer: BloomFilter): Array[Byte] = {
val baos = new ByteArrayOutputStream()
Expand Down

0 comments on commit f50ded3

Please sign in to comment.