public class FloatDecoder extends Decoder
FloatEncoder| Constructor and Description |
|---|
FloatDecoder(TSEncoding encodingType,
TSDataType dataType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext(ByteBuffer buffer) |
Binary |
readBinary(ByteBuffer buffer) |
boolean |
readBoolean(ByteBuffer buffer) |
double |
readDouble(ByteBuffer buffer) |
float |
readFloat(ByteBuffer buffer) |
int |
readInt(ByteBuffer buffer) |
long |
readLong(ByteBuffer buffer) |
short |
readShort(ByteBuffer buffer) |
void |
reset() |
getDecoderByType, getType, readBigDecimal, setTypepublic FloatDecoder(TSEncoding encodingType, TSDataType dataType)
public float readFloat(ByteBuffer buffer)
public double readDouble(ByteBuffer buffer)
readDouble in class Decoderpublic boolean hasNext(ByteBuffer buffer) throws IOException
hasNext in class DecoderIOExceptionpublic Binary readBinary(ByteBuffer buffer)
readBinary in class Decoderpublic boolean readBoolean(ByteBuffer buffer)
readBoolean in class Decoderpublic short readShort(ByteBuffer buffer)
public int readInt(ByteBuffer buffer)
public long readLong(ByteBuffer buffer)
Copyright © 2022 The Apache Software Foundation. All rights reserved.