Package org.epics.archiverappliance.etl
Interface ETLBulkStream
- All Superinterfaces:
AutoCloseable,Closeable,EventStream,Iterable<Event>
- All Known Subinterfaces:
ETLParquetFilesStream,ETLPBByteStream
- All Known Implementing Classes:
FileBackedPBEventStream,ParquetBackedPBEventFileStream
Event streams can optionally implement bulk transfer friendly methods.
If this interface is implemented, then ETL code will use bulk transfers whan moving data.
- Author:
- mshankar
-
Method Summary
Modifier and TypeMethodDescriptiongetFirstEvent(BasicContext context) Get the first event in this event stream.Methods inherited from interface org.epics.archiverappliance.EventStream
getDescriptionMethods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
getFirstEvent
Get the first event in this event stream. If there are no events in this stream, return null.- Parameters:
context- BasicContext- Returns:
- Event return the first event, or null
- Throws:
IOException-
-