public class RDBMSSearcher extends AbstractSearcher
The name of the predicate is used as the key to look up the query itself. The queries are read from a properties file called RDBMSSearcher.props from the CLASSPATH.
The sql query can be specified directly via the 'sql' URI parameter on the searcher class. Just make sure that the query is URI encoded. The query file name can be overriden with the 'queryFile' parameter.
moduleURI, parameters, predicateName, topicmap
ITEM_IDENTIFIER, OBJECT_ID, OBJECT_VALUE, OCCURRENCE_URI, STRING_VALUE, SUBJECT_IDENTIFIER, SUBJECT_LOCATOR
Constructor and Description |
---|
RDBMSSearcher() |
Modifier and Type | Method and Description |
---|---|
SearchResultIF |
getResult(String query)
PUBLIC: Returns the String value of the field.
|
int |
getValueType()
PUBLIC: Returns type of values returned by the search result.
|
setModuleURI, setParameters, setPredicateName, setTopicMap
public int getValueType()
SearcherIF
public SearchResultIF getResult(String query)
SearcherIF