public enum GroupingType extends Enum<GroupingType>
The different types of groupings that are supported.
Enum Constant and Description |
---|
ALL |
FIELDS |
GLOBAL |
LOCAL_OR_SHUFFLE |
NONE |
PARTIAL_KEY |
SHUFFLE |
Modifier and Type | Method and Description |
---|---|
abstract void |
assign(BoltDeclarer declarer,
InputStream stream) |
static GroupingType |
fromConf(String conf)
Parse a String config value and covert it into the enum.
|
String |
toConf() |
static GroupingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupingType SHUFFLE
public static final GroupingType FIELDS
public static final GroupingType ALL
public static final GroupingType GLOBAL
public static final GroupingType LOCAL_OR_SHUFFLE
public static final GroupingType NONE
public static final GroupingType PARTIAL_KEY
public static GroupingType[] values()
for (GroupingType c : GroupingType.values()) System.out.println(c);
public static GroupingType 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 static GroupingType fromConf(String conf)
Parse a String config value and covert it into the enum.
conf
- the string config.IllegalArgumentException
- if parsing does not work.public String toConf()
public abstract void assign(BoltDeclarer declarer, InputStream stream)
Copyright © 2019 The Apache Software Foundation. All rights reserved.