Class AbstractCompressedDataChunk

    • Field Detail

      • offset

        protected final int offset
      • uncompressedLength

        protected final int uncompressedLength
      • stepLengths

        protected final int[] stepLengths
    • Constructor Detail

      • AbstractCompressedDataChunk

        public AbstractCompressedDataChunk​(int offset,
                                           int uncompressedLength,
                                           int[] stepLengths)
    • Method Detail

      • getOffset

        public int getOffset()
      • getStepLengths

        public int[] getStepLengths()
      • getUncompressedLength

        public int getUncompressedLength()
      • getLength

        public int getLength()
      • isCompressed

        public boolean isCompressed()
      • getEstimatedSize

        protected abstract int getEstimatedSize()
      • getUncompressedEstimatedSize

        protected abstract int getUncompressedEstimatedSize()
      • getCompressionFactor

        public double getCompressionFactor()
      • writeStepValuesJson

        protected abstract void writeStepValuesJson​(com.fasterxml.jackson.core.JsonGenerator generator)
                                             throws IOException
        Throws:
        IOException
      • writeJson

        public void writeJson​(com.fasterxml.jackson.core.JsonGenerator generator)
      • toJson

        public String toJson()