public class ContainsPrefixTreeQuery extends AbstractPrefixTreeQuery
CONTAINS the query shape. For use on RecursivePrefixTreeStrategy.AbstractPrefixTreeQuery.BaseTermsEnumTraverser| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | multiOverlappingIndexedShapesIf the spatial data for a document is comprised of multiple overlapping or adjacent parts,
 it might fail to match a query shape when doing the CONTAINS predicate when the sum of
 those shapes contain the query shape but none do individually. | 
detailLevel, fieldName, grid, queryShape| Constructor and Description | 
|---|
| ContainsPrefixTreeQuery(org.locationtech.spatial4j.shape.Shape queryShape,
                       String fieldName,
                       SpatialPrefixTree grid,
                       int detailLevel,
                       boolean multiOverlappingIndexedShapes) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object o) | 
| protected DocIdSet | getDocIdSet(LeafReaderContext context) | 
| int | hashCode() | 
| String | toString(String field) | 
createWeight, visitclassHash, rewrite, sameClassAs, toStringprotected final boolean multiOverlappingIndexedShapes
public ContainsPrefixTreeQuery(org.locationtech.spatial4j.shape.Shape queryShape,
                               String fieldName,
                               SpatialPrefixTree grid,
                               int detailLevel,
                               boolean multiOverlappingIndexedShapes)
public boolean equals(Object o)
equals in class AbstractPrefixTreeQuerypublic int hashCode()
hashCode in class AbstractPrefixTreeQueryprotected DocIdSet getDocIdSet(LeafReaderContext context) throws IOException
getDocIdSet in class AbstractPrefixTreeQueryIOExceptionCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.