Package com.powsybl.timeseries
Class AbstractUncompressedDataChunk
- java.lang.Object
-
- com.powsybl.timeseries.AbstractUncompressedDataChunk
-
- Direct Known Subclasses:
UncompressedDoubleDataChunk
,UncompressedStringDataChunk
public abstract class AbstractUncompressedDataChunk extends Object
- Author:
- Geoffroy Jamgotchian
-
-
Field Summary
Fields Modifier and Type Field Description protected int
offset
-
Constructor Summary
Constructors Constructor Description AbstractUncompressedDataChunk(int offset)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description double
getCompressionFactor()
int
getOffset()
boolean
isCompressed()
String
toJson()
void
writeJson(com.fasterxml.jackson.core.JsonGenerator generator)
protected abstract void
writeValuesJson(com.fasterxml.jackson.core.JsonGenerator generator)
-
-
-
Method Detail
-
getOffset
public int getOffset()
-
isCompressed
public boolean isCompressed()
-
getCompressionFactor
public double getCompressionFactor()
-
writeValuesJson
protected abstract void writeValuesJson(com.fasterxml.jackson.core.JsonGenerator generator) throws IOException
- Throws:
IOException
-
writeJson
public void writeJson(com.fasterxml.jackson.core.JsonGenerator generator)
-
toJson
public String toJson()
-
-