Class DataSourceResolution
- java.lang.Object
-
- org.epics.archiverappliance.retrieval.DataSourceResolution
-
public class DataSourceResolution extends Object
- Author:
- mshankar Class for resolving data sources
-
-
Constructor Summary
Constructors Constructor Description DataSourceResolution(ConfigService configService)
-
Method Summary
Modifier and Type Method Description LinkedList<UnitOfRetrieval>
resolveDataSources(String pvName, Timestamp start, Timestamp end, PVTypeInfo typeInfo, BasicContext context, PostProcessor postProcessor, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, ApplianceInfo applianceForPV)
Returns a list of units of retrieval.
-
-
-
Constructor Detail
-
DataSourceResolution
public DataSourceResolution(ConfigService configService)
-
-
Method Detail
-
resolveDataSources
public LinkedList<UnitOfRetrieval> resolveDataSources(String pvName, Timestamp start, Timestamp end, PVTypeInfo typeInfo, BasicContext context, PostProcessor postProcessor, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, 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
- Timestampend
- TimestamptypeInfo
- PVTypeInfcontext
- BasicContextpostProcessor
- PostProcessorreq
- HttpServletRequestresp
- HttpServletResponseapplianceForPV
- 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.
-
-