| 
Esri Geoportal Server 1.0 
 | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.catalog.lucene.DiscoveryClauseAdapter
public class DiscoveryClauseAdapter
Super-class for the adaptation of a catalog discovery clause to the Lucene model.
| Constructor Summary | |
|---|---|
protected  | 
DiscoveryClauseAdapter(LuceneQueryAdapter queryAdapter)
Constructs with an associated query adapter.  | 
| Method Summary | |
|---|---|
protected  void | 
appendNullCheck(BooleanQuery activeBooleanQuery,
                String comparisonFieldName)
Appends a null-check query to the active boolean query.  | 
protected  void | 
appendQuery(BooleanQuery activeBooleanQuery,
            LogicalClause activeLogicalClause,
            Query queryToAppend)
Appends a processed query to the active boolean query.  | 
protected  void | 
appendSelectAll(BooleanQuery activeBooleanQuery)
Appends a select all query to the active boolean query.  | 
protected  LuceneQueryAdapter | 
getQueryAdapter()
Gets the the query adapter.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
protected DiscoveryClauseAdapter(LuceneQueryAdapter queryAdapter)
queryAdapter - the query adapter| Method Detail | 
|---|
protected LuceneQueryAdapter getQueryAdapter()
protected void appendNullCheck(BooleanQuery activeBooleanQuery,
                               String comparisonFieldName)
                        throws DiscoveryException
activeBooleanQuery - the active Lucene boolean querycomparisonFieldName - the name of the stored, non-tokenized field to be checked
DiscoveryException - if an invalid clause is encountered
protected void appendQuery(BooleanQuery activeBooleanQuery,
                           LogicalClause activeLogicalClause,
                           Query queryToAppend)
                    throws DiscoveryException
activeBooleanQuery - the active Lucene boolean queryactiveLogicalClause - the active discovery logical clausequeryToAppend - the Lucene query to append
DiscoveryException - if an invalid clause is encounteredprotected void appendSelectAll(BooleanQuery activeBooleanQuery)
activeBooleanQuery - the active Lucene boolean query
DiscoveryException - if an invalid clause is encountered
  | 
Esri Geoportal Server 1.0 
 | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||