public class SinglePrecisionEncoderV2 extends IntGorillaEncoder
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 |
|---|
SinglePrecisionEncoderV2() |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(float 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(float value,
ByteArrayOutputStream out)
public void flush(ByteArrayOutputStream out)
Encoderflush in class IntGorillaEncoderout - - ByteArrayOutputStreamCopyright © 2022 The Apache Software Foundation. All rights reserved.