public static enum RelDistribution.Type extends java.lang.Enum<RelDistribution.Type>
Enum Constant and Description |
---|
ANY
Not a valid distribution, but indicates that a consumer will accept any
distribution.
|
BROADCAST_DISTRIBUTED
There are multiple instances of the stream, and all records appear in
each instance.
|
HASH_DISTRIBUTED
There are multiple instances of the stream, and each instance contains
records whose keys hash to a particular hash value.
|
RANDOM_DISTRIBUTED
There are multiple instances of the stream, and each instance contains
randomly chosen records.
|
RANGE_DISTRIBUTED
There are multiple instances of the stream, and each instance contains
records whose keys fall into a particular range.
|
ROUND_ROBIN_DISTRIBUTED
There are multiple instances of the stream, and records are assigned
to instances in turn.
|
SINGLETON
There is only one instance of the stream.
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
shortName |
Modifier and Type | Method and Description |
---|---|
static RelDistribution.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RelDistribution.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelDistribution.Type SINGLETON
public static final RelDistribution.Type HASH_DISTRIBUTED
public static final RelDistribution.Type RANGE_DISTRIBUTED
public static final RelDistribution.Type RANDOM_DISTRIBUTED
public static final RelDistribution.Type ROUND_ROBIN_DISTRIBUTED
public static final RelDistribution.Type BROADCAST_DISTRIBUTED
public static final RelDistribution.Type ANY
public static RelDistribution.Type[] values()
for (RelDistribution.Type c : RelDistribution.Type.values()) System.out.println(c);
public static RelDistribution.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2012–2019 The Apache Software Foundation. All rights reserved.