public abstract class CloudAspectEngineBase<TData extends AspectData> extends AspectEngineBase<TData,AspectPropertyMetaData> implements CloudAspectEngine<TData,AspectPropertyMetaData>
| Modifier and Type | Class and Description |
|---|---|
protected class |
CloudAspectEngineBase.RequestEngineAccessor
Internal class that is used to retrieve the CloudRequestEngine
that will be making requests of behalf of this engine.
|
fiftyone.pipeline.core.flowelements.FlowElementBase.DataFactoryInternal<T extends fiftyone.pipeline.core.data.ElementData>, fiftyone.pipeline.core.flowelements.FlowElementBase.DataFactorySimple<T extends fiftyone.pipeline.core.data.ElementData>cache, missingPropertyService| Constructor and Description |
|---|
CloudAspectEngineBase(org.slf4j.Logger logger,
fiftyone.pipeline.core.data.factories.ElementDataFactory<TData> aspectDataFactory)
Construct a new instance of the
CloudAspectEngineBase. |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
createAPVMap(Map<String,Object> cloudData,
List<fiftyone.pipeline.core.data.ElementPropertyMetaData> propertyMetaData)
Use the supplied cloud data to create a map of
AspectPropertyValue
instances. |
String |
getDataSourceTier() |
List<AspectPropertyMetaData> |
getProperties() |
protected CloudAspectEngineBase.RequestEngineAccessor |
getRequestEngine()
Used to access the CloudRequestEngine that will be making HTTP
requests on behalf of this engine.
|
fiftyone.pipeline.core.typed.TypedKey<TData> |
getTypedDataKey() |
protected void |
setRequestEngine(CloudAspectEngineBase.RequestEngineAccessor requestEngine) |
getExecutor, getLazyLoadingConfiguration, managedResourcesCleanup, processEngine, processInternal, setCache, setLazyLoadingaddPipeline, close, close, finalize, getDataFactory, getElementDataKey, getEvidenceKeyFilter, getPipelines, getProperty, isClosed, isConcurrent, process, unmanagedResourcesCleanupclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExecutor, getLazyLoadingConfiguration, setCache, setLazyLoadingaddPipeline, getDataFactory, getElementDataKey, getEvidenceKeyFilter, getProperty, isClosed, isConcurrent, processclosepublic CloudAspectEngineBase(org.slf4j.Logger logger,
fiftyone.pipeline.core.data.factories.ElementDataFactory<TData> aspectDataFactory)
CloudAspectEngineBase.logger - logger instance to use for loggingaspectDataFactory - the factory to use when creating a TData
instancepublic String getDataSourceTier()
getDataSourceTier in interface AspectEngine<TData extends AspectData,AspectPropertyMetaData>getDataSourceTier in class AspectEngineBase<TData extends AspectData,AspectPropertyMetaData>protected CloudAspectEngineBase.RequestEngineAccessor getRequestEngine()
protected void setRequestEngine(CloudAspectEngineBase.RequestEngineAccessor requestEngine)
public List<AspectPropertyMetaData> getProperties()
getProperties in interface fiftyone.pipeline.core.flowelements.FlowElement<TData extends AspectData,AspectPropertyMetaData>getProperties in class AspectEngineBase<TData extends AspectData,AspectPropertyMetaData>public fiftyone.pipeline.core.typed.TypedKey<TData> getTypedDataKey()
getTypedDataKey in interface fiftyone.pipeline.core.flowelements.FlowElement<TData extends AspectData,AspectPropertyMetaData>getTypedDataKey in class AspectEngineBase<TData extends AspectData,AspectPropertyMetaData>protected Map<String,Object> createAPVMap(Map<String,Object> cloudData, List<fiftyone.pipeline.core.data.ElementPropertyMetaData> propertyMetaData)
AspectPropertyValue
instances.
A new instance of AspectPropertyValue will be created for each
value and the value from the cloud data assigned to it.
If the value is null, then the code will look for a property in the cloud
data with the same name suffixed with 'nullreason'. If it exists, then
its value will be used to set the no value message in the new
AspectPropertyValue.cloudData - the cloud data to be processed. Keys are flat property
names (i.e. no '.' separators)propertyMetaData - the meta data for the properties in the data.
This will usually be the list from
getProperties() but will be different if
dealing with sub-propertiesAspectPropertyValue instances. Any entries in the source map
where the key ends with 'nullreason' will not appear in the outputCopyright © 2021 51Degrees. All rights reserved.