Package wt.fc
Class AbstractOidChunkResultProcessor
java.lang.Object
wt.fc.AbstractOidChunkResultProcessor
- All Implemented Interfaces:
ResultProcessor
This abstract class implements methods to process results directly from
the low level persistence layer. It will process query results that return
a class name and object id as the first two items in a query result
element/row. The ids are stored internally for each class name. If a
class limit or overall limit is reached, then the ids and class names are
used to populate a WTSet which is then passed to a process() method. Note
that the complete() method should be called to process any remaining ids
after the query producing the results is executed.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddElement(Object anObj) This method is called by the low level persistence layer to add the specified object to the result.
-
Method Details
-
addElement
This method is called by the low level persistence layer to add the specified object to the result. The actual type of the element is assumed to be an Object[] with index 0 containing a String class name and index 1 containing a Number object ID.
Supported API: true- Specified by:
addElementin interfaceResultProcessor- Parameters:
anObj- Result object to add.- Throws:
WTException- - if the object can't be added to the resultWTException
-