public enum DistributionAffinity extends Enum<DistributionAffinity>
| Enum Constant and Description |
|---|
HARD
Hard distribution affinity to one or more endpoints.
|
NONE
No affinity to any endpoints.
|
SOFT
Operator has soft distribution affinity to one or more endpoints.
|
| Modifier and Type | Method and Description |
|---|---|
FragmentParallelizer |
getFragmentParallelizer() |
boolean |
isLessRestrictiveThan(DistributionAffinity distributionAffinity)
Is the current DistributionAffinity less restrictive than the given
DistributionAffinity?
|
static DistributionAffinity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DistributionAffinity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistributionAffinity NONE
public static final DistributionAffinity SOFT
public static final DistributionAffinity HARD
public static DistributionAffinity[] values()
for (DistributionAffinity c : DistributionAffinity.values()) System.out.println(c);
public static DistributionAffinity 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 FragmentParallelizer getFragmentParallelizer()
FragmentParallelizer implementation.public boolean isLessRestrictiveThan(DistributionAffinity distributionAffinity)
distributionAffinity - Copyright © 2022 The Apache Software Foundation. All rights reserved.