Detailed Description
Service used by AspectEngines to report the reason for a property not being present in the results.
- See also
- Specification
Inheritance diagram for fiftyone.pipeline.engines.services.MissingPropertyService:
Collaboration diagram for fiftyone.pipeline.engines.services.MissingPropertyService:
Public Member Functions | |
| MissingPropertyResult | getMissingPropertyReason (String propertyName, AspectEngine<? extends AspectData,? extends AspectPropertyMetaData > engine) |
| Get the reason for the property not being found. | |
| MissingPropertyResult | getMissingPropertyReason (String propertyName, List< AspectEngine<? extends AspectData,? extends AspectPropertyMetaData > > engines) |
| Get the reason for the property not being found. | |
Member Function Documentation
◆ getMissingPropertyReason() [1/2]
| MissingPropertyResult fiftyone.pipeline.engines.services.MissingPropertyService.getMissingPropertyReason | ( | String | propertyName, |
| AspectEngine<? extends AspectData,? extends AspectPropertyMetaData > | engine ) |
Get the reason for the property not being found.
If the property can be found, then the behaviour is undefined.
- Parameters
-
propertyName name of the AspectPropertyMetaDataengine where the property should be found
- Returns
- reason the property was not found
◆ getMissingPropertyReason() [2/2]
| MissingPropertyResult fiftyone.pipeline.engines.services.MissingPropertyService.getMissingPropertyReason | ( | String | propertyName, |
| List< AspectEngine<? extends AspectData,? extends AspectPropertyMetaData > > | engines ) |
Get the reason for the property not being found.
If the property can be found, then the behaviour is undefined.
- Parameters
-
propertyName name of the AspectPropertyMetaDataengines where the property should be found
- Returns
- reason the property was not found
Implemented in fiftyone.pipeline.engines.services.MissingPropertyServiceDefault.
