Enum PartitionRouting.HashFunction
java.lang.Object
java.lang.Enum<PartitionRouting.HashFunction>
io.debezium.transforms.partitions.PartitionRouting.HashFunction
- All Implemented Interfaces:
EnumeratedValue
,Serializable
,Comparable<PartitionRouting.HashFunction>
- Enclosing class:
- PartitionRouting<R extends org.apache.kafka.connect.connector.ConnectRecord<R>>
public static enum PartitionRouting.HashFunction
extends Enum<PartitionRouting.HashFunction>
implements EnumeratedValue
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetHash()
getValue()
Returns the string representation of this valueReturns the enum constant of this type with the specified name.static PartitionRouting.HashFunction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
JAVA
Hash function to be used when computing hash of the fields of the record. -
MURMUR
-
-
Field Details
-
name
-
hash
-
-
Constructor Details
-
HashFunction
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
Description copied from interface:EnumeratedValue
Returns the string representation of this value- Specified by:
getValue
in interfaceEnumeratedValue
- Returns:
- The string representation of this value
-
getHash
-
parse
-