@PublicEvolving public enum MessageKeyHash extends Enum<MessageKeyHash> implements org.apache.flink.configuration.DescribedEnum
| Enum Constant and Description |
|---|
JAVA_HASH
Use regular
String.hashCode(). |
MURMUR3_32_HASH
Use Murmur3 hashing function.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.configuration.description.InlineElement |
getDescription() |
abstract org.apache.pulsar.client.impl.Hash |
getHash() |
String |
toString() |
static MessageKeyHash |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageKeyHash[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageKeyHash JAVA_HASH
String.hashCode().public static final MessageKeyHash MURMUR3_32_HASH
public static MessageKeyHash[] values()
for (MessageKeyHash c : MessageKeyHash.values()) System.out.println(c);
public static MessageKeyHash 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 null@Internal public abstract org.apache.pulsar.client.impl.Hash getHash()
public String toString()
toString in class Enum<MessageKeyHash>@Internal public org.apache.flink.configuration.description.InlineElement getDescription()
getDescription in interface org.apache.flink.configuration.DescribedEnumCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.