public enum BinEncodingMode extends java.lang.Enum<BinEncodingMode>
| Enum Constant and Description |
|---|
CONTIGUOUS_COUNTS
Encodes N contiguous bins, specifying the count of each one.
|
INDEX_DELTAS
Encodes N bins whose counts are each equal to 1.
|
INDEX_DELTAS_AND_COUNTS
Encodes N bins, each one with its index and its count.
|
| Modifier and Type | Method and Description |
|---|---|
static BinEncodingMode |
ofFlag(Flag flag) |
Flag |
toFlag(Flag.Type storeFlagType) |
static BinEncodingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BinEncodingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinEncodingMode INDEX_DELTAS_AND_COUNTS
Encoding format:
public static final BinEncodingMode INDEX_DELTAS
Encoding format:
public static final BinEncodingMode CONTIGUOUS_COUNTS
Encoding format:
public static BinEncodingMode[] values()
for (BinEncodingMode c : BinEncodingMode.values()) System.out.println(c);
public static BinEncodingMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static BinEncodingMode ofFlag(Flag flag) throws InvalidFlagException
InvalidFlagException