public enum HashType extends Enum<HashType>
| Enum Constant and Description |
|---|
HASH_MD5 |
HASH_SPARK_MURMUR3 |
IDENTITY |
MURMUR3 |
| Modifier and Type | Method and Description |
|---|---|
static HashType |
fromNative(int nativeId) |
int |
getNativeId() |
static HashType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HashType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HashType IDENTITY
public static final HashType MURMUR3
public static final HashType HASH_SPARK_MURMUR3
public static final HashType HASH_MD5
public static HashType[] values()
for (HashType c : HashType.values()) System.out.println(c);
public static HashType 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 int getNativeId()
public static HashType fromNative(int nativeId)
Copyright © 2023. All rights reserved.