Package org.intermine.postprocess
Class PostProcessor
- java.lang.Object
-
- org.intermine.postprocess.PostProcessor
-
public abstract class PostProcessor extends java.lang.Object
Generic defn of a post process step...- Author:
- Peter Mclaren, Richard Smith
-
-
Field Summary
Fields Modifier and Type Field Description protected ObjectStoreWriter
osw
-
Constructor Summary
Constructors Constructor Description PostProcessor(ObjectStoreWriter osw)
Typical constructor with a handle to the object store we are working on.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ObjectStoreWriter
getObjectStoreWriter()
Return the ObjectStoreWriter that was passed to the constructor.abstract void
postProcess()
All subclasses should override this method so they can be called in a generic fashion.
-
-
-
Field Detail
-
osw
protected ObjectStoreWriter osw
-
-
Constructor Detail
-
PostProcessor
public PostProcessor(ObjectStoreWriter osw)
Typical constructor with a handle to the object store we are working on.- Parameters:
osw
- The object store that the postprocessor should operate on.
-
-
Method Detail
-
getObjectStoreWriter
public ObjectStoreWriter getObjectStoreWriter()
Return the ObjectStoreWriter that was passed to the constructor.- Returns:
- the ObjectStoreWriter
-
postProcess
public abstract void postProcess() throws java.lang.Exception
All subclasses should override this method so they can be called in a generic fashion.- Throws:
java.lang.Exception
- if there is a problem with the object store or solr
-
-