Class FileStreamCreator
java.lang.Object
edu.stanford.slac.archiverappliance.PlainPB.FileStreamCreator
- All Implemented Interfaces:
ETLStreamCreator
A stream creator that is backed by a single file.
- Author:
- mshankar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EventStreamgetStream(String pvName, Path path, ArchDBRTypes dbrType) static EventStreamgetStreamForIteration(String pvName, Path path, Instant startAtTime, ArchDBRTypes archDBRTypes, BiDirectionalIterable.IterationDirection direction) static EventStreamgetTimeStream(String pvName, Path path, Instant start, Instant end, boolean skipSearch, ArchDBRTypes archDBRTypes) static EventStreamgetTimeStream(String pvName, Path path, ArchDBRTypes dbrType, Instant start, Instant end, boolean skipSearch)
-
Constructor Details
-
FileStreamCreator
-
-
Method Details
-
getTimeStream
public static EventStream getTimeStream(String pvName, Path path, ArchDBRTypes dbrType, Instant start, Instant end, boolean skipSearch) throws IOException - Throws:
IOException
-
getTimeStream
public static EventStream getTimeStream(String pvName, Path path, Instant start, Instant end, boolean skipSearch, ArchDBRTypes archDBRTypes) throws IOException - Throws:
IOException
-
getStream
public static EventStream getStream(String pvName, Path path, ArchDBRTypes dbrType) throws IOException - Throws:
IOException
-
getStreamForIteration
public static EventStream getStreamForIteration(String pvName, Path path, Instant startAtTime, ArchDBRTypes archDBRTypes, BiDirectionalIterable.IterationDirection direction) throws IOException - Throws:
IOException
-
getStream
- Specified by:
getStreamin interfaceETLStreamCreator- Throws:
IOException
-