Package org.rrd4j.core
Class XmlReader
- java.lang.Object
-
- org.rrd4j.core.DataImporter
-
- org.rrd4j.core.XmlReader
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
class XmlReader extends DataImporter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAccumValue(int dsIndex)
int
getArcCount()
ConsolFun
getConsolFun(int arcIndex)
int
getDsCount()
String
getDsName(int dsIndex)
DsType
getDsType(int dsIndex)
long
getHeartbeat(int dsIndex)
long
getLastUpdateTime()
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)
String
getVersion()
double
getXff(int arcIndex)
-
Methods inherited from class org.rrd4j.core.DataImporter
close, getEstimatedSize, release
-
-
-
-
Constructor Detail
-
XmlReader
XmlReader(String xmlFilePath) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getVersion
public String 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
public String getDsName(int dsIndex)
- Specified by:
getDsName
in classDataImporter
-
getDsType
public DsType getDsType(int dsIndex)
- 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
public ConsolFun getConsolFun(int arcIndex)
- 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
-
-