|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectCollectionReader_ImplBase
com.raritantechnologies.uima.UIMACollectionReader
Implements a UIMA Collection Reader by pulling information from a RTI Search Source using an
ICollectionGateway.
<SystemObject type="UIMACollectionReader" name="[ name of this reader ]"
resultNameField="[ field to use for result ID in UIMA CPE ]" >
<CollectionGateway class="[ class of com.raritantechnologies.searchApp.dataCollection.ICollectionGateway ]" >
</CollectionGateway>
<!-- Any formatting operations that need to be performed (e.g. get Full Text, etc ) -->
<FieldFormatters>
<!-- One or more FieldFormatter tags: -->
<FieldFormatter class="[ class of com.raritantechnologies.searchApp.IFieldFormatter ]" >
</FieldFormatter>
<!-- etc. . . -->
</FieldFormatters>
<!-- ResultRenderer used to transform Results to text sent to UIMA Collection Processing Engine -->
<ResultRenderer class="[ class of com.raritantechnologies.searchApp.taglibrary.IResultRenderer ]" >
</ResultRenderer>
</SystemObject>
The following diagram shows how the Raritan UIMACollectionReader fits into a standard UIMA Collection Processing Engine:

| Constructor Summary | |
UIMACollectionReader()
|
|
| Method Summary | |
void |
close()
|
CasInitializer |
getCasInitializer()
|
void |
getNext(CAS aCas)
get the next result in the current result set. |
ProcessingResourceMetaData |
getProcessingResourceMetaData()
|
Progress[] |
getProgress()
|
boolean |
hasNext()
1) check if we have more results in the current result set. |
void |
initialize(org.w3c.dom.Element outputProcElem)
Initializes the object from an XML tag or element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UIMACollectionReader()
| Method Detail |
public boolean hasNext()
throws java.io.IOException,
CollectionException
java.io.IOException
CollectionException
public void getNext(CAS aCas)
throws java.io.IOException,
CollectionException
java.io.IOException
CollectionException
public void close()
throws java.io.IOException
java.io.IOExceptionpublic ProcessingResourceMetaData getProcessingResourceMetaData()
public CasInitializer getCasInitializer()
public Progress[] getProgress()
public void initialize(org.w3c.dom.Element outputProcElem)
IConfigurable
initialize in interface IConfigurable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||