org.keel.services.query.lucene
Class LuceneFinder
java.lang.Object
org.keel.services.query.lucene.LuceneFinder
- All Implemented Interfaces:
- Configurable, Finder, LogEnabled
- public class LuceneFinder
- extends java.lang.Object
- implements Finder, LogEnabled, Configurable
- Author:
- root To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.
| Fields inherited from interface org.keel.services.finder.Finder |
ROLE |
| Constructor Summary |
LuceneFinder()
Constructor for LuceneFinder. |
| Method Summary |
void |
configure(Configuration newConfig)
Pass the Configuration to the Configurable class. |
void |
enableLogging(Logger newLog)
Provide component with a logger. |
java.util.Set |
getObjectKeys()
Return the SortedSet of ObjectKeys meeting the search criteria. |
void |
setParameter(java.lang.String paramName, java.lang.Object paramValue)
Set a value for one of the parameters of this query. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static Logger log
-
myConfig
private Configuration myConfig
-
params
private java.util.Map params
-
LuceneFinder
public LuceneFinder()
-
Constructor for LuceneFinder.
configure
public void configure(Configuration newConfig)
- Description copied from interface:
Configurable
-
Pass the
Configuration to the Configurable class.
-
- Specified by:
configure in interface Configurable
-
- Parameters:
newConfig - the class configurations. Must not be null.
enableLogging
public void enableLogging(Logger newLog)
- Description copied from interface:
LogEnabled
-
Provide component with a logger.
-
- Specified by:
enableLogging in interface LogEnabled
-
- Parameters:
newLog - the logger. Must not be null.
setParameter
public void setParameter(java.lang.String paramName,
java.lang.Object paramValue)
throws java.lang.IllegalArgumentException
- Description copied from interface:
Finder
-
Set a value for one of the parameters of this query.
-
- Specified by:
setParameter in interface Finder
-
- Throws:
java.lang.IllegalArgumentException
- See Also:
org.keel.services.query.Criteria#setParameter(java.lang.String, java.lang.Object)
getObjectKeys
public java.util.Set getObjectKeys()
throws FinderException
- Description copied from interface:
Finder
-
Return the SortedSet of ObjectKeys meeting the search criteria.
-
- Specified by:
getObjectKeys in interface Finder
-
- Throws:
FinderException
- See Also:
org.keel.services.query.Criteria#getObjectKeys()
Please see keelframework.org for information about new Keel releases.