public static enum KafkaConnectorOptions.ScanStartupMode extends Enum<KafkaConnectorOptions.ScanStartupMode> implements DescribedEnum
KafkaConnectorOptions.SCAN_STARTUP_MODE
.Enum Constant and Description |
---|
EARLIEST_OFFSET |
GROUP_OFFSETS |
LATEST_OFFSET |
SPECIFIC_OFFSETS |
TIMESTAMP |
Modifier and Type | Method and Description |
---|---|
InlineElement |
getDescription()
Returns the description for the enum constant.
|
String |
toString() |
static KafkaConnectorOptions.ScanStartupMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KafkaConnectorOptions.ScanStartupMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KafkaConnectorOptions.ScanStartupMode EARLIEST_OFFSET
public static final KafkaConnectorOptions.ScanStartupMode LATEST_OFFSET
public static final KafkaConnectorOptions.ScanStartupMode GROUP_OFFSETS
public static final KafkaConnectorOptions.ScanStartupMode TIMESTAMP
public static final KafkaConnectorOptions.ScanStartupMode SPECIFIC_OFFSETS
public static KafkaConnectorOptions.ScanStartupMode[] values()
for (KafkaConnectorOptions.ScanStartupMode c : KafkaConnectorOptions.ScanStartupMode.values()) System.out.println(c);
public static KafkaConnectorOptions.ScanStartupMode 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 String toString()
toString
in class Enum<KafkaConnectorOptions.ScanStartupMode>
public InlineElement getDescription()
DescribedEnum
If you want to include links or code blocks, use TextElement.wrap(InlineElement...)
to wrap multiple inline elements into a single one.
getDescription
in interface DescribedEnum
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.