Esri Geoportal Server
1.0

com.esri.gpt.catalog.lucene
Class PropertyClauseAdapter

java.lang.Object
  extended by com.esri.gpt.catalog.lucene.DiscoveryClauseAdapter
      extended by com.esri.gpt.catalog.lucene.PropertyClauseAdapter

public class PropertyClauseAdapter
extends DiscoveryClauseAdapter

Adapts a catalog discovery PropertyClause to the Lucene model.


Constructor Summary
protected PropertyClauseAdapter(LuceneQueryAdapter queryAdapter)
          Constructs with an associated query adapter.
 
Method Summary
protected  void adaptPropertyClause(BooleanQuery activeBooleanQuery, LogicalClause activeLogicalClause, PropertyClause propertyClause)
          Adapts a catalog discovery PropertyClause to the Lucene model.
 
Methods inherited from class com.esri.gpt.catalog.lucene.DiscoveryClauseAdapter
appendNullCheck, appendQuery, appendSelectAll, getQueryAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyClauseAdapter

protected PropertyClauseAdapter(LuceneQueryAdapter queryAdapter)
Constructs with an associated query adapter.

Parameters:
queryAdapter - the query adapter
Method Detail

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 query
activeLogicalClause - the active discovery logical clause
propertyClause - the property clause to adapt
Throws:
DiscoveryException - if an invalid clause is encountered
ParseException - if a Lucene query parsing exception occurs

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.