Enum KafkaConnectorOptions.ScanBoundedMode
- java.lang.Object
-
- java.lang.Enum<KafkaConnectorOptions.ScanBoundedMode>
-
- org.apache.flink.streaming.connectors.kafka.table.KafkaConnectorOptions.ScanBoundedMode
-
- All Implemented Interfaces:
Serializable,Comparable<KafkaConnectorOptions.ScanBoundedMode>,org.apache.flink.configuration.DescribedEnum
- Enclosing class:
- KafkaConnectorOptions
public static enum KafkaConnectorOptions.ScanBoundedMode extends Enum<KafkaConnectorOptions.ScanBoundedMode> implements org.apache.flink.configuration.DescribedEnum
Bounded mode for the Kafka consumer, seeKafkaConnectorOptions.SCAN_BOUNDED_MODE.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GROUP_OFFSETSLATEST_OFFSETSPECIFIC_OFFSETSTIMESTAMPUNBOUNDED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.configuration.description.InlineElementgetDescription()StringtoString()static KafkaConnectorOptions.ScanBoundedModevalueOf(String name)Returns the enum constant of this type with the specified name.static KafkaConnectorOptions.ScanBoundedMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNBOUNDED
public static final KafkaConnectorOptions.ScanBoundedMode UNBOUNDED
-
LATEST_OFFSET
public static final KafkaConnectorOptions.ScanBoundedMode LATEST_OFFSET
-
GROUP_OFFSETS
public static final KafkaConnectorOptions.ScanBoundedMode GROUP_OFFSETS
-
TIMESTAMP
public static final KafkaConnectorOptions.ScanBoundedMode TIMESTAMP
-
SPECIFIC_OFFSETS
public static final KafkaConnectorOptions.ScanBoundedMode SPECIFIC_OFFSETS
-
-
Method Detail
-
values
public static KafkaConnectorOptions.ScanBoundedMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KafkaConnectorOptions.ScanBoundedMode c : KafkaConnectorOptions.ScanBoundedMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KafkaConnectorOptions.ScanBoundedMode valueOf(String name)
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
-
toString
public String toString()
- Overrides:
toStringin classEnum<KafkaConnectorOptions.ScanBoundedMode>
-
getDescription
public org.apache.flink.configuration.description.InlineElement getDescription()
- Specified by:
getDescriptionin interfaceorg.apache.flink.configuration.DescribedEnum
-
-