|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.concept.classifier.ClassifierUpdateProcessor
Maintains a set of database tables for a classifier (i.e. an IFieldFormatter) or set of classifiers to keep track of changes in the category taxonomy and with the document set.
Document Table:
Classifier Table:
<OutputProcessor class="com.raritantechnologies.concept.classifier.ClassifierUpdateProcessor"
databaseConnectionManager="[ name of RTI IDatabaseConnectionManager ]"
documentIDField="[ result ID field ]"
classifierTable="[ name of classifier table in DB ]" >
<!-- One or more classifiers -->
<Classifier class="[ class of com.raritantechnologies.searchApp.IFieldFormatter ]"
ID="[ classifier ID ]"
classifierFields="[ fields in result that classifier will affect ]" >
</Classifier>
</OutputProcessor>
| Constructor Summary | |
ClassifierUpdateProcessor()
|
|
| Method Summary | |
void |
dataComplete()
Data feed is complete. |
java.lang.String |
getConfigurationXML()
|
void |
initialize(org.w3c.dom.Element elem)
Initialize the from XML Element. |
void |
initialize(org.w3c.dom.Element outputProcElem,
ISearchFieldMap sfMap)
Initialize the GatewayOutputProcessor from XML Configuration Element. |
void |
initialize(java.util.Map initParameters)
Used for dynamic initialization |
java.lang.String |
processData(IResultSet data)
returns name of XML File created/appended. |
void |
processResultSet(java.lang.String sessionID,
IResultSet data)
processes the IResultSet (somehow) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ClassifierUpdateProcessor()
| Method Detail |
public void processResultSet(java.lang.String sessionID,
IResultSet data)
IResultSetProcessor
processResultSet in interface IResultSetProcessorpublic java.lang.String processData(IResultSet data)
IGatewayOutputProcessor
processData in interface IGatewayOutputProcessorpublic void dataComplete()
IGatewayOutputProcessor
dataComplete in interface IGatewayOutputProcessor
public void initialize(org.w3c.dom.Element outputProcElem,
ISearchFieldMap sfMap)
initialize in interface IGatewayOutputProcessorpublic void initialize(java.util.Map initParameters)
initialize in interface IGatewayOutputProcessorpublic java.lang.String getConfigurationXML()
getConfigurationXML in interface IGatewayOutputProcessorpublic void initialize(org.w3c.dom.Element elem)
IResultSetProcessor
initialize in interface IResultSetProcessor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||