◆ RefreshData() [1/2]
override void Examples.OnPremiseEngine.FlowElements.SimpleOnPremiseEngine.RefreshData | ( | string | dataFileIdentifier | ) |
virtual
Causes the engine to reload data from the file at IAspectEngineDataFile.DataFilePath for the data file matching the given identifier.
Implementors should consider thread-safety to ensure that parallel calls to 'Process' will resolve as normal.
- Parameters
-
- dataFileIdentifier - The identifier of the data file to update. Must match the value in IAspectEngineDataFile.Identifier. If the engine only has a single data file, this parameter is ignored. If null is passed then all data files should be refreshed.
Implements FiftyOne.Pipeline.Engines.FlowElements.OnPremiseAspectEngineBase< IStarSignData, IAspectPropertyMetaData >.
◆ RefreshData() [2/2]
override void Examples.OnPremiseEngine.FlowElements.SimpleOnPremiseEngine.RefreshData ( string dataFileIdentifier, Stream data ) virtualCauses the engine to reload data from the supplied Stream for the file matching the given identifier.
Implementors should consider thread-safety to ensure that parallel calls to 'Process' will resolve as normal.
- Parameters
-
- dataFileIdentifier - The identifier of the data file to update. Must match the value in IAspectEngineDataFile.Identifier. If the engine only has a single data file, this parameter is ignored.
- data - A Stream containing the data to use when refreshing.
Implements FiftyOne.Pipeline.Engines.FlowElements.OnPremiseAspectEngineBase< IStarSignData, IAspectPropertyMetaData >.
Member Data Documentation
◆ EvidenceKeyFilter
override IEvidenceKeyFilter Examples.OnPremiseEngine.FlowElements.SimpleOnPremiseEngine.EvidenceKeyFilter Initial value:=>new EvidenceKeyFilterWhitelist(new List<string>() { "date-of-birth" })◆ Properties
override IList<IAspectPropertyMetaData> Examples.OnPremiseEngine.FlowElements.SimpleOnPremiseEngine.Properties Initial value:=> new List<IAspectPropertyMetaData>() {new AspectPropertyMetaData(this, "starsign", typeof(string), "starsign", new List<string>(){"free"}, true),}