public static enum SystemPartitioningHandle.SystemPartitionFunction extends Enum<SystemPartitioningHandle.SystemPartitionFunction>
Enum Constant and Description |
---|
BROADCAST |
HASH |
ROUND_ROBIN |
SINGLE |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
abstract BucketFunction |
createBucketFunction(List<Type> partitionChannelTypes,
boolean isHashPrecomputed,
int bucketCount) |
static SystemPartitioningHandle.SystemPartitionFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SystemPartitioningHandle.SystemPartitionFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemPartitioningHandle.SystemPartitionFunction SINGLE
public static final SystemPartitioningHandle.SystemPartitionFunction HASH
public static final SystemPartitioningHandle.SystemPartitionFunction ROUND_ROBIN
public static final SystemPartitioningHandle.SystemPartitionFunction BROADCAST
public static final SystemPartitioningHandle.SystemPartitionFunction UNKNOWN
public static SystemPartitioningHandle.SystemPartitionFunction[] values()
for (SystemPartitioningHandle.SystemPartitionFunction c : SystemPartitioningHandle.SystemPartitionFunction.values()) System.out.println(c);
public static SystemPartitioningHandle.SystemPartitionFunction 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 abstract BucketFunction createBucketFunction(List<Type> partitionChannelTypes, boolean isHashPrecomputed, int bucketCount)
Copyright © 2012–2019. All rights reserved.