public class IntersectsPrefixTreeQuery extends AbstractVisitingPrefixTreeQuery
SpatialRelation.INTERSECTS
(i.e. not DISTINCT) relationship with a provided query shape.AbstractVisitingPrefixTreeQuery.VisitorTemplate, AbstractVisitingPrefixTreeQuery.VNode
AbstractPrefixTreeQuery.BaseTermsEnumTraverser
prefixGridScanLevel
detailLevel, fieldName, grid, queryShape
Constructor and Description |
---|
IntersectsPrefixTreeQuery(org.locationtech.spatial4j.shape.Shape queryShape,
String fieldName,
SpatialPrefixTree grid,
int detailLevel,
int prefixGridScanLevel) |
Modifier and Type | Method and Description |
---|---|
protected DocIdSet |
getDocIdSet(LeafReaderContext context) |
String |
toString(String field) |
createWeight, equals, hashCode
classHash, rewrite, sameClassAs, toString
public IntersectsPrefixTreeQuery(org.locationtech.spatial4j.shape.Shape queryShape, String fieldName, SpatialPrefixTree grid, int detailLevel, int prefixGridScanLevel)
protected DocIdSet getDocIdSet(LeafReaderContext context) throws IOException
getDocIdSet
in class AbstractPrefixTreeQuery
IOException
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.