Package com.powsybl.timeseries
Class AbstractUncompressedDataChunk
java.lang.Object
com.powsybl.timeseries.AbstractUncompressedDataChunk
- Direct Known Subclasses:
UncompressedDoubleDataChunk
,UncompressedStringDataChunk
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
int
boolean
toJson()
void
writeJson
(com.fasterxml.jackson.core.JsonGenerator generator) protected abstract void
writeValuesJson
(com.fasterxml.jackson.core.JsonGenerator generator)
-
Field Details
-
offset
protected final int offset
-
-
Constructor Details
-
AbstractUncompressedDataChunk
public AbstractUncompressedDataChunk(int offset)
-
-
Method Details
-
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
-