IRISLIB database
Processor Class Reference
Inheritance diagram for Processor:
Collaboration diagram for Processor:

Private Member Functions

_.Library.Status __FetchSource (_.Library.Integer loc, _.Library.List ref)
 

Additional Inherited Members

- Public Member Functions inherited from Processor
_.Library.String GetKnownLanguage (_.Library.Integer loc, _.Library.List ref, _.Library.Integer keyid)
 
_.Library.Status ProcessListElement (_.Library.Integer loc, _.Library.List ref, _.Library.Integer keyid, _.Library.String metadata, _.Library.Boolean skipped)
 
_.Library.Status ProcessVirtualListElement (_.Library.Integer loc, _.Library.List ref)
 Same as <method>ProcessListElement</method>, but for Virtual Sources.
 
_.Library.Status SetConverter (_.Library.Integer convId, _.Library.String convParams)
 
_.Library.Status SetParams (_.Library.String params)
 
- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 
- Static Public Member Functions inherited from Processor
_.Library.List GetMetadataKeys (_.Library.String params)
 
- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 

Detailed Description

This Processor implementation reads data from the internal structures populated by StoreTemp and StoreTempStream methods in subclasses of <class>iKnow.Source.Lister</class> such as <class>iKnow.Source.RSS.Lister</class>.

Processor parameters: [None]

Extracted metadata keys: [None]

Member Function Documentation

◆ __FetchSource()

_.Library.Status __FetchSource ( _.Library.Integer  loc,
_.Library.List  ref 
)
private

This is the primary method that will need to be implemented by subclasses. It gets the local ID

of the source being processed (as assigned by the lister) and the Composite Reference in List format. Data read by the Processor should be buffered through calling ..Buffer.BufferString(), which will automatically forward the data to the iKnow Indexing engine or, if configured, a <class>iKnow.Source.Converter</class> object that will in turn push converted data through to the engine.

If this Processor also extracts metadata while reading (as specified in its <method>GetMetadataKeys</method> implementation), it should make sure to invoke <method>SetCurrentMetadataValues</method> at some point in this methods execution.

Reimplemented from Processor.