|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.searchApp.dataCollection.FlatFileOutputProcessor
Stores IResult fields in a flat file - for example for
import into a spreadsheet.
<OutputProcessor class="com.raritantechnologies.searchApp.dataCollection.FlatFileOutputProcessor"
fileName="[ file name for output flat file ]"
append="true|false(default)"
writeHeaderLine="[ true|false(default) ]"
fieldDelimiter="[ charater separator for fields: default='|' ]"
multiValueDelimiter="[ character separator for multiple values default=';' ]" >
<!-- One or more field IDs in the result that will be put into flat file columns -->
<Column ID="[result field ID]" />
<Column ID="[another field ID]" />
<!-- etc. . . -->
</OutputProcessor>
| Field Summary |
| Fields inherited from interface com.raritantechnologies.searchApp.dataCollection.ICollectionIndexer |
ADD, CREATE, DELETE, UPDATE |
| Constructor Summary | |
FlatFileOutputProcessor()
|
|
| Method Summary | |
void |
dataComplete()
Data feed is complete. |
java.lang.String |
getConfigurationXML()
|
java.lang.String |
getFileName()
|
void |
initialize(org.w3c.dom.Element outputProcElem)
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 initParams)
Used for dynamic initialization (connection, collection name, file name, etc.) |
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) |
void |
setFileName(java.lang.String fileName)
|
void |
setIndexMode(java.lang.String indexMode)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FlatFileOutputProcessor()
| Method Detail |
public void setIndexMode(java.lang.String indexMode)
setIndexMode in interface ICollectionIndexer
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)
IGatewayOutputProcessor
initialize in interface IGatewayOutputProcessorpublic void initialize(org.w3c.dom.Element outputProcElem)
IResultSetProcessor
initialize in interface IResultSetProcessorpublic void initialize(java.util.Map initParams)
IGatewayOutputProcessor
initialize in interface IGatewayOutputProcessorpublic java.lang.String getConfigurationXML()
getConfigurationXML in interface IGatewayOutputProcessorpublic void setFileName(java.lang.String fileName)
public java.lang.String getFileName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||