Package org.rrd4j.core
Class DataImporter
java.lang.Object
org.rrd4j.core.DataImporter
- All Implemented Interfaces:
Closeable,AutoCloseable
- Direct Known Subclasses:
RrdToolReader,XmlReader
public abstract class DataImporter extends Object implements Closeable
An abstract class to import data from external source.
- Since:
- 3.5
- Author:
- Fabrice Bacchella
-
Constructor Summary
Constructors Constructor Description DataImporter() -
Method Summary
Modifier and Type Method Description voidclose()abstract doublegetAccumValue(int dsIndex)abstract intgetArcCount()abstract ConsolFungetConsolFun(int arcIndex)abstract intgetDsCount()abstract StringgetDsName(int dsIndex)abstract DsTypegetDsType(int dsIndex)protected longgetEstimatedSize()abstract longgetHeartbeat(int dsIndex)abstract longgetLastUpdateTime()abstract doublegetLastValue(int dsIndex)abstract doublegetMaxValue(int dsIndex)abstract doublegetMinValue(int dsIndex)abstract longgetNanSeconds(int dsIndex)abstract intgetRows(int arcIndex)abstract doublegetStateAccumValue(int arcIndex, int dsIndex)abstract intgetStateNanSteps(int arcIndex, int dsIndex)abstract longgetStep()abstract intgetSteps(int arcIndex)abstract double[]getValues(int arcIndex, int dsIndex)abstract StringgetVersion()abstract doublegetXff(int arcIndex)(package private) voidrelease()
-
Constructor Details
-
DataImporter
public DataImporter()
-
-
Method Details
-
getVersion
- Throws:
IOException
-
getLastUpdateTime
- Throws:
IOException
-
getStep
- Throws:
IOException
-
getDsCount
- Throws:
IOException
-
getArcCount
- Throws:
IOException
-
getDsName
- Throws:
IOException
-
getDsType
- Throws:
IOException
-
getHeartbeat
- Throws:
IOException
-
getMinValue
- Throws:
IOException
-
getMaxValue
- Throws:
IOException
-
getLastValue
- Throws:
IOException
-
getAccumValue
- Throws:
IOException
-
getNanSeconds
- Throws:
IOException
-
getConsolFun
- Throws:
IOException
-
getXff
- Throws:
IOException
-
getSteps
- Throws:
IOException
-
getRows
- Throws:
IOException
-
getStateAccumValue
- Throws:
IOException
-
getStateNanSteps
- Throws:
IOException
-
getValues
- Throws:
IOException
-
getEstimatedSize
- Throws:
IOException
-
release
- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-