Class DataSourceResolution
java.lang.Object
org.epics.archiverappliance.retrieval.DataSourceResolution
- Author:
- mshankar Class for resolving data sources
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolveDataSources(String pvName, Instant start, Instant end, PVTypeInfo typeInfo, BasicContext context, PostProcessor postProcessor, javax.servlet.http.HttpServletRequest req, ApplianceInfo applianceForPV) Returns a list of units of retrieval.
-
Constructor Details
-
DataSourceResolution
-
-
Method Details
-
resolveDataSources
public LinkedList<UnitOfRetrieval> resolveDataSources(String pvName, Instant start, Instant end, PVTypeInfo typeInfo, BasicContext context, PostProcessor postProcessor, javax.servlet.http.HttpServletRequest req, ApplianceInfo applianceForPV) throws IOException Returns a list of units of retrieval. I.e., the storage plugin description, the storage plugin object used to retrieve data, the type information for the PV, the PV name, the start and end timestamp, the postprocessor that should be used and the context in which the data should be retrieved
If the PV name that was specified in the method call is not to be found in the current appliance, the storage plugin object stored in the UnitOfRetrieval object will be a PBOverHTTPStoragePlugin object.
- Parameters:
pvName- The name of PV.start- Instantend- InstanttypeInfo- PVTypeInfcontext- BasicContextpostProcessor- PostProcessorreq- HttpServletRequestapplianceForPV- ApplianceInfo- Returns:
- UnitOfRetrieval
- Throws:
IOException- A LinkedList of UnitOfRetrieval objects that contain the storage plguin description, the storage plugin object used to retrieve data, the type information of the PV, the PV name, the start and end timestamp, the postprocessor that should be used and the context in which data should be retrieved.IOException- Thrown if there is a syntax error in the URI.
-