public class NumberRangePrefixTreeStrategy extends RecursivePrefixTreeStrategy
DateRangePrefixTree
.multiOverlappingIndexedShapes, prefixGridScanLevel, pruneLeafyBranches
defaultFieldValuesArrayLen, distErrPct, FIELD_TYPE, grid, pointsOnly
ctx
Constructor and Description |
---|
NumberRangePrefixTreeStrategy(NumberRangePrefixTree prefixTree,
String fieldName) |
Modifier and Type | Method and Description |
---|---|
protected Iterator<Cell> |
createCellIteratorToIndex(org.locationtech.spatial4j.shape.Shape shape,
int detailLevel,
Iterator<Cell> reuse) |
NumberRangePrefixTree |
getGrid() |
ValueSource |
makeDistanceValueSource(org.locationtech.spatial4j.shape.Point queryPoint,
double multiplier)
Unsupported.
|
getPrefixGridScanLevel, isMultiOverlappingIndexedShapes, isPruneLeafyBranches, makeQuery, setMultiOverlappingIndexedShapes, setPrefixGridScanLevel, setPruneLeafyBranches, toString
calcFacets, createIndexableFields, createIndexableFields, createIndexableFields, getDistErrPct, isPointsOnly, newCellToBytesRefIterator, setDefaultFieldValuesArrayLen, setDistErrPct, setPointsOnly
getFieldName, getSpatialContext, makeDistanceValueSource, makeRecipDistanceValueSource
public NumberRangePrefixTreeStrategy(NumberRangePrefixTree prefixTree, String fieldName)
public NumberRangePrefixTree getGrid()
getGrid
in class PrefixTreeStrategy
protected Iterator<Cell> createCellIteratorToIndex(org.locationtech.spatial4j.shape.Shape shape, int detailLevel, Iterator<Cell> reuse)
createCellIteratorToIndex
in class RecursivePrefixTreeStrategy
public ValueSource makeDistanceValueSource(org.locationtech.spatial4j.shape.Point queryPoint, double multiplier)
makeDistanceValueSource
in class PrefixTreeStrategy
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.