public enum TSEncoding extends Enum<TSEncoding>
| Enum Constant and Description |
|---|
BITMAP |
DICTIONARY |
DIFF |
FREQ |
GORILLA |
GORILLA_V1 |
PLAIN |
REGULAR |
RLE |
TS_2DIFF |
ZIGZAG |
| Modifier and Type | Method and Description |
|---|---|
static TSEncoding |
deserialize(byte encoding)
judge the encoding deserialize type.
|
static int |
getSerializedSize() |
byte |
serialize()
judge the encoding deserialize type.
|
static TSEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TSEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TSEncoding PLAIN
public static final TSEncoding DICTIONARY
public static final TSEncoding RLE
public static final TSEncoding DIFF
public static final TSEncoding TS_2DIFF
public static final TSEncoding BITMAP
public static final TSEncoding GORILLA_V1
public static final TSEncoding REGULAR
public static final TSEncoding GORILLA
public static final TSEncoding ZIGZAG
public static final TSEncoding FREQ
public static TSEncoding[] values()
for (TSEncoding c : TSEncoding.values()) System.out.println(c);
public static TSEncoding valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static TSEncoding deserialize(byte encoding)
encoding - -use to determine encoding typepublic static int getSerializedSize()
public byte serialize()
Copyright © 2022 The Apache Software Foundation. All rights reserved.