public static enum SummingArrayCombiner.Type extends Enum<SummingArrayCombiner.Type>
Enum Constant and Description |
---|
FIXEDLEN
indicates a fixed-length (8 bytes for each Long) encoding of a list of Longs using
SummingArrayCombiner.FixedLongArrayEncoder |
STRING
indicates a string (comma-separated) representation of a list of Longs using
SummingArrayCombiner.StringArrayEncoder |
VARLEN
indicates a variable-length encoding of a list of Longs using
SummingArrayCombiner.VarLongArrayEncoder |
Modifier and Type | Method and Description |
---|---|
static SummingArrayCombiner.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SummingArrayCombiner.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SummingArrayCombiner.Type VARLEN
SummingArrayCombiner.VarLongArrayEncoder
public static final SummingArrayCombiner.Type FIXEDLEN
SummingArrayCombiner.FixedLongArrayEncoder
public static final SummingArrayCombiner.Type STRING
SummingArrayCombiner.StringArrayEncoder
public static SummingArrayCombiner.Type[] values()
for (SummingArrayCombiner.Type c : SummingArrayCombiner.Type.values()) System.out.println(c);
public static SummingArrayCombiner.Type 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 nullCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.