# Uses of Interface
org.apache.lucene.util.IORunnable

Packages that use IORunnable
Package
Description
org.apache.lucene.util.bkd
Block KD-tree, implementing the generic spatial data structure described in this paper.

## Uses of IORunnable in org.apache.lucene.util.bkd

Methods in org.apache.lucene.util.bkd that return IORunnable
Modifier and Type
Method
Description
`IORunnable`
BKDWriter.`finish(IndexOutput metaOut, IndexOutput indexOut, IndexOutput dataOut)`
Writes the BKD tree to the provided `IndexOutput`s and returns a `Runnable` that writes the index of the tree if at least one point has been added, or `null` otherwise.
`IORunnable`
BKDWriter.`merge(IndexOutput metaOut, IndexOutput indexOut, IndexOutput dataOut, List<MergeState.DocMap> docMaps, List<PointValues> readers)`
More efficient bulk-add for incoming `PointValues`s.
`IORunnable`
BKDWriter.`writeField(IndexOutput metaOut, IndexOutput indexOut, IndexOutput dataOut, String fieldName, MutablePointTree reader)`
Write a field from a `MutablePointTree`.