public static enum KllSketch.SketchType extends Enum<KllSketch.SketchType>
Enum Constant and Description |
---|
DOUBLES_SKETCH
KllDoublesSketch
|
FLOATS_SKETCH
KllFloatsSketch
|
ITEMS_SKETCH
KllItemsSketch
|
LONGS_SKETCH
KllDoublesSketch
|
Modifier and Type | Method and Description |
---|---|
int |
getBytes()
Gets the item size in bytes.
|
String |
getName()
Get the name of the associated sketch
|
static KllSketch.SketchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KllSketch.SketchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KllSketch.SketchType DOUBLES_SKETCH
public static final KllSketch.SketchType FLOATS_SKETCH
public static final KllSketch.SketchType ITEMS_SKETCH
public static final KllSketch.SketchType LONGS_SKETCH
public static KllSketch.SketchType[] values()
for (KllSketch.SketchType c : KllSketch.SketchType.values()) System.out.println(c);
public static KllSketch.SketchType 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 getBytes()
public String getName()
Copyright © 2015–2024 The Apache Software Foundation. All rights reserved.