public class DoublePrecisionEncoderV2 extends LongGorillaEncoder
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
bitsLeft, firstValueWasWritten, storedLeadingZeros, storedTrailingZerosMAX_POINT_NUMBER, MAX_STRING_LENGTH| Constructor and Description |
|---|
DoublePrecisionEncoderV2() |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(double value,
ByteArrayOutputStream out) |
void |
flush(ByteArrayOutputStream out)
Write all values buffered in memory cache to OutputStream.
|
encode, getOneItemMaxSize, resetflipByte, getMaxByteSize, skipBit, writeBit, writeBitspublic final void encode(double value,
ByteArrayOutputStream out)
public void flush(ByteArrayOutputStream out)
Encoderflush in class LongGorillaEncoderout - - ByteArrayOutputStreamCopyright © 2022 The Apache Software Foundation. All rights reserved.