public static enum TimestampBasedAvroKeyGenerator.TimestampType extends Enum<TimestampBasedAvroKeyGenerator.TimestampType> implements Serializable
| Enum Constant and Description |
|---|
DATE_STRING |
EPOCHMILLISECONDS |
MIXED |
SCALAR |
UNIX_TIMESTAMP |
| Modifier and Type | Method and Description |
|---|---|
static TimestampBasedAvroKeyGenerator.TimestampType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimestampBasedAvroKeyGenerator.TimestampType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimestampBasedAvroKeyGenerator.TimestampType UNIX_TIMESTAMP
public static final TimestampBasedAvroKeyGenerator.TimestampType DATE_STRING
public static final TimestampBasedAvroKeyGenerator.TimestampType MIXED
public static final TimestampBasedAvroKeyGenerator.TimestampType EPOCHMILLISECONDS
public static final TimestampBasedAvroKeyGenerator.TimestampType SCALAR
public static TimestampBasedAvroKeyGenerator.TimestampType[] values()
for (TimestampBasedAvroKeyGenerator.TimestampType c : TimestampBasedAvroKeyGenerator.TimestampType.values()) System.out.println(c);
public static TimestampBasedAvroKeyGenerator.TimestampType 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 nullCopyright © 2023 The Apache Software Foundation. All rights reserved.