public static enum StreamPartitioner.PartitioningStrategy extends Enum<StreamPartitioner.PartitioningStrategy>
| Enum Constant and Description |
|---|
BROADCAST |
DISTRIBUTE |
FORWARD |
GLOBAL |
GROUPBY |
SHUFFLE |
| Modifier and Type | Method and Description |
|---|---|
static StreamPartitioner.PartitioningStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StreamPartitioner.PartitioningStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamPartitioner.PartitioningStrategy FORWARD
public static final StreamPartitioner.PartitioningStrategy DISTRIBUTE
public static final StreamPartitioner.PartitioningStrategy SHUFFLE
public static final StreamPartitioner.PartitioningStrategy BROADCAST
public static final StreamPartitioner.PartitioningStrategy GLOBAL
public static final StreamPartitioner.PartitioningStrategy GROUPBY
public static StreamPartitioner.PartitioningStrategy[] values()
for (StreamPartitioner.PartitioningStrategy c : StreamPartitioner.PartitioningStrategy.values()) System.out.println(c);
public static StreamPartitioner.PartitioningStrategy 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 © 2014–2015 The Apache Software Foundation. All rights reserved.