@Deprecated public class BitmapDecoder extends Decoder
<length> <num>
<encoded-data>| Constructor and Description |
|---|
BitmapDecoder()
Deprecated.
BitmapDecoder constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<Pair<Integer,byte[]>> |
decodeAll(int target,
List<ByteBuffer> pageList)
Deprecated.
For special value in page list, get its bitmap index.
|
boolean |
hasNext(ByteBuffer buffer)
Deprecated.
Check whether there is number left for reading.
|
BigDecimal |
readBigDecimal(ByteBuffer buffer)
Deprecated.
|
Binary |
readBinary(ByteBuffer buffer)
Deprecated.
|
boolean |
readBoolean(ByteBuffer buffer)
Deprecated.
In current version, boolean value is equal to Enums value in schema.
|
double |
readDouble(ByteBuffer buffer)
Deprecated.
|
float |
readFloat(ByteBuffer buffer)
Deprecated.
|
int |
readInt(ByteBuffer buffer)
Deprecated.
|
long |
readLong(ByteBuffer buffer)
Deprecated.
|
short |
readShort(ByteBuffer buffer)
Deprecated.
|
void |
reset()
Deprecated.
|
getDecoderByType, getType, setTypepublic int readInt(ByteBuffer buffer)
public List<Pair<Integer,byte[]>> decodeAll(int target, List<ByteBuffer> pageList)
target - value to get its bitmap indexpageList - input page listpublic boolean hasNext(ByteBuffer buffer)
hasNext in class Decoderbuffer - : decoded data saved in InputStreamIOException - cannot read next valuepublic boolean readBoolean(ByteBuffer buffer)
readBoolean in class Decoderbuffer - : decoded data saved in InputStreamTsFileDecodingException - cannot read next valuepublic short readShort(ByteBuffer buffer)
public long readLong(ByteBuffer buffer)
public float readFloat(ByteBuffer buffer)
public double readDouble(ByteBuffer buffer)
readDouble in class Decoderpublic Binary readBinary(ByteBuffer buffer)
readBinary in class Decoderpublic BigDecimal readBigDecimal(ByteBuffer buffer)
readBigDecimal in class DecoderCopyright © 2022 The Apache Software Foundation. All rights reserved.