Class AbstractUncompressedDataChunk

java.lang.Object
com.powsybl.timeseries.AbstractUncompressedDataChunk
Direct Known Subclasses:
UncompressedDoubleDataChunk, UncompressedStringDataChunk

public abstract class AbstractUncompressedDataChunk extends Object
Author:
Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
  • 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

      public String toJson()