◆ __init__()
| def fiftyone_pipeline_engines.engine.Engine.__init__ | ( | self, | |
data_file = None
  | 
        |||
| ) | 
Constructor for an engine.
Reimplemented in fiftyone_pipeline_cloudrequestengine.cloudrequestengine.CloudRequestEngine.
\r\n
An engine is an extension of the FlowElement class that adds extra functionality.
| def | __init__ (self, data_file=None)
 Constructor for an engine.  More...
  | 
| def | set_cache (self, cache)
 Add a cache to an engine @type cashe: Cache.  More...
  | 
| def | set_restricted_properties (self, properties_list)
 Add a subset of properties.  More...
  | 
| def | in_cache (self, flowdata)
 A method to check if a flowdata's evidence is in the cache.  More...
  | 
| def | refresh (self, identifier) | 
| def fiftyone_pipeline_engines.engine.Engine.__init__ | ( | self, | |
data_file = None
  | 
        |||
| ) | 
Constructor for an engine.
Reimplemented in fiftyone_pipeline_cloudrequestengine.cloudrequestengine.CloudRequestEngine.
| def fiftyone_pipeline_engines.engine.Engine.in_cache | ( | self, | |
| flowdata | |||
| ) | 
A method to check if a flowdata's evidence is in the cache.
@type FlowData: FlowData
| def fiftyone_pipeline_engines.engine.Engine.on_registration | ( | self, | |
| pipeline | |||
| ) | 
Called when an engine is registered with a pipeline and if there is a data file, a data file update service is attached to the parent pipeline.
@type pipeline: Pipeline
Reimplemented from fiftyone_pipeline_core.flowelement.FlowElement.
Reimplemented in fiftyone_pipeline_cloudrequestengine.cloudengine.CloudEngine.
| def fiftyone_pipeline_engines.engine.Engine.process | ( | self, | |
| flowdata | |||
| ) | 
Engine's core process function.
Calls specific overriden processInternal methods but wraps it in a cache check and a cache put
@type flowdata: FlowData
Reimplemented from fiftyone_pipeline_core.flowelement.FlowElement.
| def fiftyone_pipeline_engines.engine.Engine.refresh | ( | self, | |
| identifier | |||
| ) | 
| def fiftyone_pipeline_engines.engine.Engine.register_data_file | ( | self, | |
| data_file | |||
| ) | 
Register a data_file of the DataFile class with the engine @type data_file: DataFile.
| def fiftyone_pipeline_engines.engine.Engine.set_cache | ( | self, | |
| cache | |||
| ) | 
Add a cache to an engine @type cashe: Cache.
| def fiftyone_pipeline_engines.engine.Engine.set_restricted_properties | ( | self, | |
| properties_list | |||
| ) | 
Add a subset of properties.
@type properties_list: string[]
| fiftyone_pipeline_engines.engine.Engine.cache | 
| fiftyone_pipeline_engines.engine.Engine.data_file | 
| fiftyone_pipeline_engines.engine.Engine.restricted_properties |