## Uses of Interface
org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.UnitNRShape

- Packages that use NumberRangePrefixTree.UnitNRShape
  Package | Description
  --- | ---
  org.apache.lucene.spatial.prefix | Prefix Tree Strategy.
  org.apache.lucene.spatial.prefix.tree | This package is about SpatialPrefixTree and any supporting classes.

- - ### Uses of NumberRangePrefixTree.UnitNRShape in org.apache.lucene.spatial.prefix

    Fields in org.apache.lucene.spatial.prefix with type parameters of type NumberRangePrefixTree.UnitNRShape
    Modifier and Type | Field and Description
    --- | ---
    `SortedMap<NumberRangePrefixTree.UnitNRShape,NumberRangePrefixTreeStrategy.Facets.FacetParentVal>` | NumberRangePrefixTreeStrategy.Facets.`parents` Holds all the `NumberRangePrefixTreeStrategy.Facets.FacetParentVal` instances in order of the key.

    Methods in org.apache.lucene.spatial.prefix with parameters of type NumberRangePrefixTree.UnitNRShape
    Modifier and Type | Method and Description
    --- | ---
    `NumberRangePrefixTreeStrategy.Facets` | NumberRangePrefixTreeStrategy.`calcFacets(IndexReaderContext context, Bits topAcceptDocs, NumberRangePrefixTree.UnitNRShape start, NumberRangePrefixTree.UnitNRShape end)` Calculates facets between `start` and `end` to a detail level one greater than that provided by the arguments.

  - ### Uses of NumberRangePrefixTree.UnitNRShape in org.apache.lucene.spatial.prefix.tree

    Classes in org.apache.lucene.spatial.prefix.tree that implement NumberRangePrefixTree.UnitNRShape
    Modifier and Type | Class and Description
    --- | ---
    `protected class` | `NumberRangePrefixTree.NRCell` Most of the PrefixTree implementation is in this one class, which is both the Cell, the CellIterator, and the Shape to reduce object allocation.

    Methods in org.apache.lucene.spatial.prefix.tree that return NumberRangePrefixTree.UnitNRShape
    Modifier and Type | Method and Description
    --- | ---
    `NumberRangePrefixTree.UnitNRShape` | NumberRangePrefixTree.UnitNRShape.`clone()` Deep clone
    `NumberRangePrefixTree.UnitNRShape` | NumberRangePrefixTree.NRCell.`clone()`
    `NumberRangePrefixTree.UnitNRShape` | NumberRangePrefixTree.SpanUnitsNRShape.`getMaxUnit()`
    `NumberRangePrefixTree.UnitNRShape` | NumberRangePrefixTree.SpanUnitsNRShape.`getMinUnit()`
    `NumberRangePrefixTree.UnitNRShape` | NumberRangePrefixTree.NRCell.`getShape()`
    `NumberRangePrefixTree.UnitNRShape` | NumberRangePrefixTree.UnitNRShape.`getShapeAtLevel(int level)` Gets an ancestor at the specified level.
    `protected abstract NumberRangePrefixTree.UnitNRShape` | NumberRangePrefixTree.`parseUnitShape(String str)` Parse a String to a UnitNRShape.
    `protected NumberRangePrefixTree.UnitNRShape` | DateRangePrefixTree.`parseUnitShape(String str)`
    `NumberRangePrefixTree.UnitNRShape` | NumberRangePrefixTree.UnitNRShape.`roundToLevel(int targetLevel)`
    `NumberRangePrefixTree.UnitNRShape` | NumberRangePrefixTree.NRCell.`roundToLevel(int targetLevel)`
    `NumberRangePrefixTree.UnitNRShape` | DateRangePrefixTree.`toShape(Calendar cal)` Converts the Calendar into a Shape.
    `protected NumberRangePrefixTree.UnitNRShape` | NumberRangePrefixTree.`toShape(int[] valStack, int len)`
    `abstract NumberRangePrefixTree.UnitNRShape` | NumberRangePrefixTree.`toUnitShape(Object value)` Converts the value to a unit shape.
    `NumberRangePrefixTree.UnitNRShape` | DateRangePrefixTree.`toUnitShape(Object value)` Converts `value` from a `Calendar` or `Date` to a `Shape`.

    Methods in org.apache.lucene.spatial.prefix.tree with parameters of type NumberRangePrefixTree.UnitNRShape
    Modifier and Type | Method and Description
    --- | ---
    `protected static int` | NumberRangePrefixTree.`comparePrefix(NumberRangePrefixTree.UnitNRShape a, NumberRangePrefixTree.UnitNRShape b)` Compares a to b, returning less than 0, 0, or greater than 0, if a is less than, equal to, or greater than b, respectively, up to their common prefix (i.e.
    `int` | NumberRangePrefixTree.NRCell.`compareTo(NumberRangePrefixTree.UnitNRShape o)`
    `int` | NumberRangePrefixTree.`getNumSubCells(NumberRangePrefixTree.UnitNRShape lv)` Returns the number of sub-cells beneath the given UnitNRShape.
    `int` | DateRangePrefixTree.`getNumSubCells(NumberRangePrefixTree.UnitNRShape lv)`
    `org.locationtech.spatial4j.shape.SpatialRelation` | NumberRangePrefixTree.NRCell.`relate(NumberRangePrefixTree.UnitNRShape lv)`
    `Calendar` | DateRangePrefixTree.`toCalendar(NumberRangePrefixTree.UnitNRShape lv)` Converts the `NumberRangePrefixTree.UnitNRShape` shape to a corresponding Calendar that is cleared below its level.
    `abstract Object` | NumberRangePrefixTree.`toObject(NumberRangePrefixTree.UnitNRShape shape)` Converts a UnitNRShape shape to the corresponding type supported by this class, such as a Calendar/BigDecimal.
    `Object` | DateRangePrefixTree.`toObject(NumberRangePrefixTree.UnitNRShape shape)` Calls `DateRangePrefixTree.toCalendar(org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.UnitNRShape)`.
    `NumberRangePrefixTree.NRShape` | NumberRangePrefixTree.`toRangeShape(NumberRangePrefixTree.UnitNRShape startUnit, NumberRangePrefixTree.UnitNRShape endUnit)` Returns a shape that represents the continuous range between `start` and `end`.
    `protected abstract String` | NumberRangePrefixTree.`toString(NumberRangePrefixTree.UnitNRShape lv)` A string representation of the UnitNRShape that is parse-able by `NumberRangePrefixTree.parseUnitShape(String)`.
    `protected String` | DateRangePrefixTree.`toString(NumberRangePrefixTree.UnitNRShape lv)`
    `protected static String` | NumberRangePrefixTree.`toStringUnitRaw(NumberRangePrefixTree.UnitNRShape lv)`

Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.