Package org.rrd4j.core
Class XmlReader
java.lang.Object
org.rrd4j.core.DataImporter
org.rrd4j.core.XmlReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getAccumValue
(int dsIndex) int
getConsolFun
(int arcIndex) int
getDsName
(int dsIndex) getDsType
(int dsIndex) long
getHeartbeat
(int dsIndex) long
double
getLastValue
(int dsIndex) double
getMaxValue
(int dsIndex) double
getMinValue
(int dsIndex) long
getNanSeconds
(int dsIndex) int
getRows
(int arcIndex) double
getStateAccumValue
(int arcIndex, int dsIndex) int
getStateNanSteps
(int arcIndex, int dsIndex) long
getStep()
int
getSteps
(int arcIndex) double[]
getValues
(int arcIndex, int dsIndex) double
getXff
(int arcIndex) Methods inherited from class org.rrd4j.core.DataImporter
close, getEstimatedSize, release
-
Constructor Details
-
XmlReader
XmlReader(String xmlFilePath) throws IOException - Throws:
IOException
-
-
Method Details
-
getVersion
- Specified by:
getVersion
in classDataImporter
-
getLastUpdateTime
public long getLastUpdateTime()- Specified by:
getLastUpdateTime
in classDataImporter
-
getStep
public long getStep()- Specified by:
getStep
in classDataImporter
-
getDsCount
public int getDsCount()- Specified by:
getDsCount
in classDataImporter
-
getArcCount
public int getArcCount()- Specified by:
getArcCount
in classDataImporter
-
getDsName
- Specified by:
getDsName
in classDataImporter
-
getDsType
- Specified by:
getDsType
in classDataImporter
-
getHeartbeat
public long getHeartbeat(int dsIndex) - Specified by:
getHeartbeat
in classDataImporter
-
getMinValue
public double getMinValue(int dsIndex) - Specified by:
getMinValue
in classDataImporter
-
getMaxValue
public double getMaxValue(int dsIndex) - Specified by:
getMaxValue
in classDataImporter
-
getLastValue
public double getLastValue(int dsIndex) - Specified by:
getLastValue
in classDataImporter
-
getAccumValue
public double getAccumValue(int dsIndex) - Specified by:
getAccumValue
in classDataImporter
-
getNanSeconds
public long getNanSeconds(int dsIndex) - Specified by:
getNanSeconds
in classDataImporter
-
getConsolFun
- Specified by:
getConsolFun
in classDataImporter
-
getXff
public double getXff(int arcIndex) - Specified by:
getXff
in classDataImporter
-
getSteps
public int getSteps(int arcIndex) - Specified by:
getSteps
in classDataImporter
-
getStateAccumValue
public double getStateAccumValue(int arcIndex, int dsIndex) - Specified by:
getStateAccumValue
in classDataImporter
-
getStateNanSteps
public int getStateNanSteps(int arcIndex, int dsIndex) - Specified by:
getStateNanSteps
in classDataImporter
-
getRows
public int getRows(int arcIndex) - Specified by:
getRows
in classDataImporter
-
getValues
public double[] getValues(int arcIndex, int dsIndex) - Specified by:
getValues
in classDataImporter
-