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(com.spatial4j.core.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)
Prints a query to a string, with
field assumed to be the
default field and omitted. |
createWeight, equals, hashCode
classHash, rewrite, sameClassAs, toString
public IntersectsPrefixTreeQuery(com.spatial4j.core.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 The Apache Software Foundation. All rights reserved.