Uses of Interface
org.apache.lucene.spatial.prefix.tree.Cell
Packages that use Cell
Package
Description
Prefix Tree Strategy.
This package is about SpatialPrefixTree and any supporting classes.
-
Uses of Cell in org.apache.lucene.spatial.prefix
Fields in org.apache.lucene.spatial.prefix with type parameters of type CellMethods in org.apache.lucene.spatial.prefix that return types with arguments of type CellModifier and TypeMethodDescriptionPrefixTreeStrategy.createCellIteratorToIndex
(org.locationtech.spatial4j.shape.Shape shape, int detailLevel, Iterator<Cell> reuse) RecursivePrefixTreeStrategy.createCellIteratorToIndex
(org.locationtech.spatial4j.shape.Shape shape, int detailLevel, Iterator<Cell> reuse) Methods in org.apache.lucene.spatial.prefix with parameters of type CellModifier and TypeMethodDescriptionprotected CellIterator
AbstractVisitingPrefixTreeQuery.VisitorTemplate.findSubCellsToVisit
(Cell cell) Called when doing a divide and conquer to find the next intersecting cells of the query shape that are beneathcell
.abstract void
Called for cells with a leaf, or cells at the target facet level.protected abstract void
Called when an indexed leaf cell is found.protected abstract boolean
AbstractVisitingPrefixTreeQuery.VisitorTemplate.visitPrefix
(Cell cell) Visit an indexed non-leaf cell.protected void
AbstractVisitingPrefixTreeQuery.VisitorTemplate.visitScanned
(Cell cell) The cell is either indexed as a leaf or is the last level of detail.Method parameters in org.apache.lucene.spatial.prefix with type arguments of type CellModifier and TypeMethodDescriptionPrefixTreeStrategy.createCellIteratorToIndex
(org.locationtech.spatial4j.shape.Shape shape, int detailLevel, Iterator<Cell> reuse) RecursivePrefixTreeStrategy.createCellIteratorToIndex
(org.locationtech.spatial4j.shape.Shape shape, int detailLevel, Iterator<Cell> reuse) void
-
Uses of Cell in org.apache.lucene.spatial.prefix.tree
Subinterfaces of Cell in org.apache.lucene.spatial.prefix.treeModifier and TypeInterfaceDescriptioninterface
Grid cells that share nothing with other cells when callinggetNextLevelCells(Shape)
might implement this interface.Classes in org.apache.lucene.spatial.prefix.tree that implement CellModifier and TypeClassDescriptionclass
The base for the original two SPT's: Geohash and Quad.protected class
Most of the PrefixTree implementation is in this one class, which is both the Cell, the CellIterator, and the Shape to reduce object allocation.protected class
See binary representation in the javadocs ofPackedQuadPrefixTree
.protected class
individual QuadPrefixTree grid cellFields in org.apache.lucene.spatial.prefix.tree declared as CellModifier and TypeFieldDescriptionprotected Cell
CellIterator.nextCell
protected Cell
CellIterator.thisCell
Methods in org.apache.lucene.spatial.prefix.tree that return CellModifier and TypeMethodDescriptionprotected Cell
GeohashPrefixTree.getCell
(org.locationtech.spatial4j.shape.Point p, int level) PackedQuadPrefixTree.getCell
(org.locationtech.spatial4j.shape.Point p, int level) QuadPrefixTree.getCell
(org.locationtech.spatial4j.shape.Point p, int level) GeohashPrefixTree.getWorldCell()
NumberRangePrefixTree.getWorldCell()
PackedQuadPrefixTree.getWorldCell()
QuadPrefixTree.getWorldCell()
S2PrefixTree.getWorldCell()
abstract Cell
SpatialPrefixTree.getWorldCell()
Returns the level 0 cell which encompasses all spatial data.CellIterator.next()
PackedQuadPrefixTree.PrefixTreeIterator.next()
Gets the next cell that is >=fromCell
, compared using non-leaf bytes.abstract Cell
This creates a new Cell (or re-usingscratch
if provided), initialized to the state as read by the bytes.CellIterator.thisCell()
Returns the cell last returned fromCellIterator.next()
.Methods in org.apache.lucene.spatial.prefix.tree that return types with arguments of type CellModifier and TypeMethodDescriptionprotected abstract Collection
<Cell> LegacyCell.getSubCells()
Gets the cells at the next grid cell level that covers this cell.protected Collection
<Cell> PackedQuadPrefixTree.PackedQuadCell.getSubCells()
protected Collection
<Cell> QuadPrefixTree.QuadCell.getSubCells()
Methods in org.apache.lucene.spatial.prefix.tree with parameters of type CellModifier and TypeMethodDescriptionint
Cell.compareToNoLeaf
(Cell fromCell) Equivalent tothis.getTokenBytesNoLeaf(null).compareTo(fromCell.getTokenBytesNoLeaf(null))
.int
LegacyCell.compareToNoLeaf
(Cell fromCell) int
NumberRangePrefixTree.NRCell.compareToNoLeaf
(Cell fromCell) int
PackedQuadPrefixTree.PackedQuadCell.compareToNoLeaf
(Cell fromCell) boolean
Cell.isPrefixOf
(Cell c) Returns if the target term is within/underneath this cell; not necessarily a direct descendant.boolean
LegacyCell.isPrefixOf
(Cell c) boolean
NumberRangePrefixTree.NRCell.isPrefixOf
(Cell c) boolean
PackedQuadPrefixTree.PackedQuadCell.isPrefixOf
(Cell c) Gets the next cell that is >=fromCell
, compared using non-leaf bytes.abstract Cell
This creates a new Cell (or re-usingscratch
if provided), initialized to the state as read by the bytes.Method parameters in org.apache.lucene.spatial.prefix.tree with type arguments of type CellModifier and TypeMethodDescriptionprotected void
PackedQuadPrefixTree.buildNotRobustly
(double x, double y, int level, List<Cell> matches, long term, org.locationtech.spatial4j.shape.Shape shape, int maxLevel) protected void
PackedQuadPrefixTree.checkBattenbergNotRobustly
(byte quad, double cx, double cy, int level, List<Cell> matches, long term, org.locationtech.spatial4j.shape.Shape shape, int maxLevel) protected void
QuadPrefixTree.checkBattenbergNotRobustly
(char c, double cx, double cy, int level, List<Cell> matches, BytesRef str, org.locationtech.spatial4j.shape.Shape shape, int maxLevel)