public static enum KllSketch.SketchStructure extends Enum<KllSketch.SketchStructure>
| Enum Constant and Description |
|---|
COMPACT_EMPTY
Compact Empty Structure
|
COMPACT_FULL
Compact Full Preamble Structure
|
COMPACT_SINGLE
Compact Single Item Structure
|
UPDATABLE
Updatable Preamble Structure
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPreInts()
gets the Preamble Integers for this Structure.
|
int |
getSerVer()
gets the Serialization Version for this Structure.
|
static KllSketch.SketchStructure |
getSketchStructure(int preInts,
int serVer)
gets the SketchStructure given preInts and serVer.
|
static KllSketch.SketchStructure |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KllSketch.SketchStructure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KllSketch.SketchStructure COMPACT_EMPTY
public static final KllSketch.SketchStructure COMPACT_SINGLE
public static final KllSketch.SketchStructure COMPACT_FULL
public static final KllSketch.SketchStructure UPDATABLE
public static KllSketch.SketchStructure[] values()
for (KllSketch.SketchStructure c : KllSketch.SketchStructure.values()) System.out.println(c);
public static KllSketch.SketchStructure 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 int getPreInts()
public int getSerVer()
public static KllSketch.SketchStructure getSketchStructure(int preInts, int serVer)
preInts - the given preamble size in integersserVer - the given Serialization VersionCopyright © 2015–2024 The Apache Software Foundation. All rights reserved.