Class DataSourceforPV

java.lang.Object
org.epics.archiverappliance.retrieval.DataSourceforPV
All Implemented Interfaces:
Comparable<DataSourceforPV>

public class DataSourceforPV extends Object implements Comparable<DataSourceforPV>
Represents a data source for data for a PV
Author:
mshankar
  • Constructor Details

  • Method Details

    • getPvName

      public String getPvName()
    • getDataStartTime

      public Instant getDataStartTime()
    • getDataEndTime

      public Instant getDataEndTime()
    • getStoragePlugin

      public StoragePlugin getStoragePlugin()
    • getLifetimeId

      public int getLifetimeId()
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(DataSourceforPV other)
      Specified by:
      compareTo in interface Comparable<DataSourceforPV>
    • isOverridingStartAndEndTimes

      public boolean isOverridingStartAndEndTimes()
      Has the data source resolution specified the times for which we are fetching the data? Note this is an optional optimization and is most often used when getting data from the ChannelArchiver. Most other times, we let this default to the start time and end time of the data retrieval request.
      Returns:
      boolean True or False
    • getRequestTimeSpan

      public TimeSpan getRequestTimeSpan()