◆ AspectEngineBase()
fiftyone.pipeline.engines.flowelements.AspectEngineBase< TData extends AspectData, TProperty extends AspectPropertyMetaData >.AspectEngineBase | ( | Logger | logger, |
ElementDataFactory< TData > | aspectDataFactory | ||
) |
Construct a new instance of the AspectEngine.
- Parameters
-
- logger - logger instance to use for logging
- aspectDataFactory - the factory to use when creating a TData instance
Member Function Documentation
◆ processEngine()
abstract void fiftyone.pipeline.engines.flowelements.AspectEngineBase< TData extends AspectData, TProperty extends AspectPropertyMetaData >.processEngine ( FlowData flowData, TData aspectData ) throws Exception abstract protectedExtending classes must implement this method.
It should perform the required processing and update the specified aspect data instance.
- Parameters
-
- flowData - the FlowData instance that provides the evidence
- aspectData - the AspectData instance to populate with the results of processing
- Exceptions
-
- Exception - if there was an exception during processing
◆ processInternal()
final void fiftyone.pipeline.engines.flowelements.AspectEngineBase< TData extends AspectData, TProperty extends AspectPropertyMetaData >.processInternal ( FlowData flowData ) throws Exception protectedImplementation of method from the base class FlowElementBase.
This exists to centralise the results caching logic.
- Parameters
-
- flowData - the FlowData instance that provides the evidence and holds the result.
- Exceptions
-
- Exception - if there was an exception during processing