com.esri.gpt.catalog.lucene
Class SpatialClauseAdapter
java.lang.Object
com.esri.gpt.catalog.lucene.DiscoveryClauseAdapter
com.esri.gpt.catalog.lucene.SpatialClauseAdapter
public class SpatialClauseAdapter
- extends DiscoveryClauseAdapter
Adapts a catalog discovery SpatialClause to the Lucene model.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpatialClauseAdapter
protected SpatialClauseAdapter(LuceneQueryAdapter queryAdapter)
- Constructs with an associated query adapter.
- Parameters:
queryAdapter
- the query adapter
adaptSpatialClause
protected void adaptSpatialClause(BooleanQuery activeBooleanQuery,
LogicalClause activeLogicalClause,
SpatialClause spatialClause)
throws DiscoveryException
- Adapts a catalog discovery SpatialClause to the Lucene model.
- Parameters:
activeBooleanQuery
- the active Lucene boolean queryactiveLogicalClause
- the active discovery logical clausespatialClause
- the spatial clause to adapt
- Throws:
DiscoveryException
- if an invalid clause is encountered
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.