Package org.rrd4j.core
Class DataImporter
java.lang.Object
org.rrd4j.core.DataImporter
- All Implemented Interfaces:
Closeable,AutoCloseable
- Direct Known Subclasses:
RrdToolReader,XmlReader
An abstract class to import data from external source.
- Since:
- 3.5
- Author:
- Fabrice Bacchella
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()abstract doublegetAccumValue(int dsIndex) abstract intabstract ConsolFungetConsolFun(int arcIndex) abstract intabstract StringgetDsName(int dsIndex) abstract DsTypegetDsType(int dsIndex) protected longabstract longgetHeartbeat(int dsIndex) abstract longabstract 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 Stringabstract 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
-