Class DataSourceResolution

java.lang.Object
org.epics.archiverappliance.retrieval.DataSourceResolution

public class DataSourceResolution extends Object
Author:
mshankar Class for resolving data sources
  • Constructor Details

    • DataSourceResolution

      public DataSourceResolution(ConfigService configService)
  • Method Details

    • resolveDataSources

      public LinkedList<UnitOfRetrieval> resolveDataSources(String pvName, Instant start, Instant end, PVTypeInfo typeInfo, BasicContext context, PostProcessor postProcessor, jakarta.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 - Instant
      end - Instant
      typeInfo - PVTypeInf
      context - BasicContext
      postProcessor - PostProcessor
      req - HttpServletRequest
      applianceForPV - 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.