public abstract class DataImporter extends Object implements Closeable
An abstract class to import data from external source.
Constructor and Description |
---|
DataImporter() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
abstract double |
getAccumValue(int dsIndex) |
abstract int |
getArcCount() |
abstract ConsolFun |
getConsolFun(int arcIndex) |
abstract int |
getDsCount() |
abstract String |
getDsName(int dsIndex) |
abstract DsType |
getDsType(int dsIndex) |
protected long |
getEstimatedSize() |
abstract long |
getHeartbeat(int dsIndex) |
abstract long |
getLastUpdateTime() |
abstract double |
getLastValue(int dsIndex) |
abstract double |
getMaxValue(int dsIndex) |
abstract double |
getMinValue(int dsIndex) |
abstract long |
getNanSeconds(int dsIndex) |
abstract int |
getRows(int arcIndex) |
abstract double |
getStateAccumValue(int arcIndex,
int dsIndex) |
abstract int |
getStateNanSteps(int arcIndex,
int dsIndex) |
abstract long |
getStep() |
abstract int |
getSteps(int arcIndex) |
abstract double[] |
getValues(int arcIndex,
int dsIndex) |
abstract String |
getVersion() |
abstract double |
getXff(int arcIndex) |
(package private) void |
release() |
public abstract String getVersion() throws IOException
IOException
public abstract long getLastUpdateTime() throws IOException
IOException
public abstract long getStep() throws IOException
IOException
public abstract int getDsCount() throws IOException
IOException
public abstract int getArcCount() throws IOException
IOException
public abstract String getDsName(int dsIndex) throws IOException
IOException
public abstract DsType getDsType(int dsIndex) throws IOException
IOException
public abstract long getHeartbeat(int dsIndex) throws IOException
IOException
public abstract double getMinValue(int dsIndex) throws IOException
IOException
public abstract double getMaxValue(int dsIndex) throws IOException
IOException
public abstract double getLastValue(int dsIndex) throws IOException
IOException
public abstract double getAccumValue(int dsIndex) throws IOException
IOException
public abstract long getNanSeconds(int dsIndex) throws IOException
IOException
public abstract ConsolFun getConsolFun(int arcIndex) throws IOException
IOException
public abstract double getXff(int arcIndex) throws IOException
IOException
public abstract int getSteps(int arcIndex) throws IOException
IOException
public abstract int getRows(int arcIndex) throws IOException
IOException
public abstract double getStateAccumValue(int arcIndex, int dsIndex) throws IOException
IOException
public abstract int getStateNanSteps(int arcIndex, int dsIndex) throws IOException
IOException
public abstract double[] getValues(int arcIndex, int dsIndex) throws IOException
IOException
protected long getEstimatedSize() throws IOException
IOException
void release() throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException