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