# Uses of Class
org.apache.lucene.spatial.prefix.PrefixTreeFacetCounter.FacetVisitor

Packages that use PrefixTreeFacetCounter.FacetVisitor
Package
Description
org.apache.lucene.spatial.prefix
Prefix Tree Strategy.

## Uses of PrefixTreeFacetCounter.FacetVisitor in org.apache.lucene.spatial.prefix

Methods in org.apache.lucene.spatial.prefix with parameters of type PrefixTreeFacetCounter.FacetVisitor
Modifier and Type
Method
Description
`static void`
PrefixTreeFacetCounter.`compute(PrefixTreeStrategy strategy, IndexReaderContext context, Bits topAcceptDocs, org.locationtech.spatial4j.shape.Shape queryShape, int facetLevel, PrefixTreeFacetCounter.FacetVisitor facetVisitor)`
Computes facets using a callback/visitor style design, allowing flexibility for the caller to determine what to do with each underlying count.
`static void`
PrefixTreeFacetCounter.`compute(PrefixTreeStrategy strategy, LeafReaderContext context, Bits acceptDocs, org.locationtech.spatial4j.shape.Shape queryShape, int facetLevel, PrefixTreeFacetCounter.FacetVisitor facetVisitor)`
Lower-level per-leaf segment method.