Class RawDataRetrievalAsEventStream
java.lang.Object
org.epics.archiverappliance.retrieval.client.RawDataRetrievalAsEventStream
- All Implemented Interfaces:
DataRetrievalForPVs
Client side class for retrieving data from the appliance archiver using the PB over HTTP protocol.
This is mostly used by the unit tests where the ability to treat retrieval results as event streams is veru useful.
Java clients should use the pbrawclient which is a lightweight implementation of the same.
- Author:
- mshankar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDataForPVS(String[] pvNames, Instant startTime, Instant endTime, RetrievalEventProcessor retrievalEventProcessor) Get data for multiple PVs from starttime to endtime.getDataForPVS(String[] pvNames, Instant startTime, Instant endTime, RetrievalEventProcessor retrievalEventProcessor, boolean useReducedDataSet) Get data for multiple PVs from starttime to endtime.getDataForPVS(String[] pvNames, Instant startTime, Instant endTime, RetrievalEventProcessor retrievalEventProcessor, boolean useReducedDataSet, HashMap<String, String> otherParams) Get data for multiple PVs from starttime to endtime.
-
Constructor Details
-
RawDataRetrievalAsEventStream
-
-
Method Details
-
getDataForPVS
public EventStream getDataForPVS(String[] pvNames, Instant startTime, Instant endTime, RetrievalEventProcessor retrievalEventProcessor) Description copied from interface:DataRetrievalForPVsGet data for multiple PVs from starttime to endtime. Pass out-of-band events into the supplied retrievalEventProcessor We default to getting raw data- Specified by:
getDataForPVSin interfaceDataRetrievalForPVs- Parameters:
pvNames- The name of PVsstartTime- InstantendTime- InstantretrievalEventProcessor- RetrievalEventProcessor- Returns:
- EventStream Data for PVs
-
getDataForPVS
public EventStream getDataForPVS(String[] pvNames, Instant startTime, Instant endTime, RetrievalEventProcessor retrievalEventProcessor, boolean useReducedDataSet) Description copied from interface:DataRetrievalForPVsGet data for multiple PVs from starttime to endtime. Pass out-of-band events into the supplied retrievalEventProcessor- Specified by:
getDataForPVSin interfaceDataRetrievalForPVs- Parameters:
pvNames- The name of PVsstartTime- InstantendTime- InstantretrievalEventProcessor- RetrievalEventProcessoruseReducedDataSet- Is it ok to use a reduced data set?- Returns:
- EventStream Data for PVs
-
getDataForPVS
public EventStream getDataForPVS(String[] pvNames, Instant startTime, Instant endTime, RetrievalEventProcessor retrievalEventProcessor, boolean useReducedDataSet, HashMap<String, String> otherParams) Description copied from interface:DataRetrievalForPVsGet data for multiple PVs from starttime to endtime. Pass out-of-band events into the supplied retrievalEventProcessor- Specified by:
getDataForPVSin interfaceDataRetrievalForPVs- Parameters:
pvNames- The name of PVsstartTime- InstantendTime- InstantretrievalEventProcessor- RetrievalEventProcessoruseReducedDataSet- Is it ok to use a reduced data set?otherParams- Any other name/value pairs that are passed onto the server.- Returns:
- EventStream Data for PVs
-