public static enum GroupingDef.Type extends Enum<GroupingDef.Type>
Types of stream groupings Storm allows.
Enum Constant and Description |
---|
ALL |
CUSTOM |
DIRECT |
FIELDS |
GLOBAL |
LOCAL_OR_SHUFFLE |
NONE |
SHUFFLE |
Modifier and Type | Method and Description |
---|---|
static GroupingDef.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupingDef.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupingDef.Type ALL
public static final GroupingDef.Type CUSTOM
public static final GroupingDef.Type DIRECT
public static final GroupingDef.Type SHUFFLE
public static final GroupingDef.Type LOCAL_OR_SHUFFLE
public static final GroupingDef.Type FIELDS
public static final GroupingDef.Type GLOBAL
public static final GroupingDef.Type NONE
public static GroupingDef.Type[] values()
for (GroupingDef.Type c : GroupingDef.Type.values()) System.out.println(c);
public static GroupingDef.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 © 2020 The Apache Software Foundation. All rights reserved.