Package org.epics.archiverappliance.etl
Class ETLInfo
- java.lang.Object
-
- org.epics.archiverappliance.etl.ETLInfo
-
public class ETLInfo extends Object
A POJO that encapsulates all the information needed about a stream from an ETL source- Author:
- mshankar
-
-
Constructor Summary
Constructors Constructor Description ETLInfo(String pvName, ArchDBRTypes type, String key, PartitionGranularity granularity, ETLStreamCreator strmCreator, Event firstEvent, long size)
-
Method Summary
Modifier and Type Method Description void
addOtherInfo(String name, String value)
EventStream
getEv()
Event
getFirstEvent()
PartitionGranularity
getGranularity()
String
getKey()
String
getOtherInfo(String name)
String
getPvName()
long
getSize()
ETLStreamCreator
getStrmCreator()
ArchDBRTypes
getType()
void
setStrmCreator(ETLStreamCreator strmCreator)
-
-
-
Constructor Detail
-
ETLInfo
public ETLInfo(String pvName, ArchDBRTypes type, String key, PartitionGranularity granularity, ETLStreamCreator strmCreator, Event firstEvent, long size)
-
-
Method Detail
-
getType
public ArchDBRTypes getType()
-
getPvName
public String getPvName()
-
getKey
public String getKey()
-
getGranularity
public PartitionGranularity getGranularity()
-
getEv
public EventStream getEv() throws IOException
- Throws:
IOException
-
getFirstEvent
public Event getFirstEvent()
-
getSize
public long getSize()
-
getStrmCreator
public ETLStreamCreator getStrmCreator()
-
setStrmCreator
public void setStrmCreator(ETLStreamCreator strmCreator)
-
-