Class DoublePrecisionEncoderV2


  • public class DoublePrecisionEncoderV2
    extends LongGorillaEncoder
    This class includes code modified from Michael Burman's gorilla-tsc project.

    Copyright: 2016-2018 Michael Burman and/or other contributors

    Project page: https://github.com/burmanm/gorilla-tsc

    License: http://www.apache.org/licenses/LICENSE-2.0

    • Constructor Detail

      • DoublePrecisionEncoderV2

        public DoublePrecisionEncoderV2()
    • Method Detail

      • encode

        public final void encode​(double value,
                                 java.io.ByteArrayOutputStream out)
        Overrides:
        encode in class Encoder
      • flush

        public void flush​(java.io.ByteArrayOutputStream out)
        Description copied from class: Encoder
        Write all values buffered in memory cache to OutputStream.
        Overrides:
        flush in class LongGorillaEncoder
        Parameters:
        out - - ByteArrayOutputStream