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 CellIteratorAbstractVisitingPrefixTreeQuery.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 voidCalled for cells with a leaf, or cells at the target facet level.protected abstract voidCalled when an indexed leaf cell is found.protected abstract booleanAbstractVisitingPrefixTreeQuery.VisitorTemplate.visitPrefix(Cell cell) Visit an indexed non-leaf cell.protected voidAbstractVisitingPrefixTreeQuery.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 TypeInterfaceDescriptioninterfaceGrid 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 TypeClassDescriptionclassThe base for the original two SPT's: Geohash and Quad.protected classMost of the PrefixTree implementation is in this one class, which is both the Cell, the CellIterator, and the Shape to reduce object allocation.protected classSee binary representation in the javadocs ofPackedQuadPrefixTree.protected classindividual QuadPrefixTree grid cellFields in org.apache.lucene.spatial.prefix.tree declared as CellModifier and TypeFieldDescriptionprotected CellCellIterator.nextCellprotected CellCellIterator.thisCellMethods in org.apache.lucene.spatial.prefix.tree that return CellModifier and TypeMethodDescriptionprotected CellGeohashPrefixTree.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 CellSpatialPrefixTree.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 CellThis creates a new Cell (or re-usingscratchif 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 TypeMethodDescriptionintCell.compareToNoLeaf(Cell fromCell) Equivalent tothis.getTokenBytesNoLeaf(null).compareTo(fromCell.getTokenBytesNoLeaf(null)).intLegacyCell.compareToNoLeaf(Cell fromCell) intNumberRangePrefixTree.NRCell.compareToNoLeaf(Cell fromCell) intPackedQuadPrefixTree.PackedQuadCell.compareToNoLeaf(Cell fromCell) booleanCell.isPrefixOf(Cell c) Returns if the target term is within/underneath this cell; not necessarily a direct descendant.booleanLegacyCell.isPrefixOf(Cell c) booleanNumberRangePrefixTree.NRCell.isPrefixOf(Cell c) booleanPackedQuadPrefixTree.PackedQuadCell.isPrefixOf(Cell c) Gets the next cell that is >=fromCell, compared using non-leaf bytes.abstract CellThis creates a new Cell (or re-usingscratchif 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 voidPackedQuadPrefixTree.buildNotRobustly(double x, double y, int level, List<Cell> matches, long term, org.locationtech.spatial4j.shape.Shape shape, int maxLevel) protected voidPackedQuadPrefixTree.checkBattenbergNotRobustly(byte quad, double cx, double cy, int level, List<Cell> matches, long term, org.locationtech.spatial4j.shape.Shape shape, int maxLevel) protected voidQuadPrefixTree.checkBattenbergNotRobustly(char c, double cx, double cy, int level, List<Cell> matches, BytesRef str, org.locationtech.spatial4j.shape.Shape shape, int maxLevel)