Enum KafkaConnectorOptions.ValueFieldsStrategy
- java.lang.Object
-
- java.lang.Enum<KafkaConnectorOptions.ValueFieldsStrategy>
-
- org.apache.flink.streaming.connectors.kafka.table.KafkaConnectorOptions.ValueFieldsStrategy
-
- All Implemented Interfaces:
Serializable,Comparable<KafkaConnectorOptions.ValueFieldsStrategy>
- Enclosing class:
- KafkaConnectorOptions
public static enum KafkaConnectorOptions.ValueFieldsStrategy extends Enum<KafkaConnectorOptions.ValueFieldsStrategy>
Strategies to derive the data type of a value format by considering a key format.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLEXCEPT_KEY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KafkaConnectorOptions.ValueFieldsStrategyvalueOf(String name)Returns the enum constant of this type with the specified name.static KafkaConnectorOptions.ValueFieldsStrategy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final KafkaConnectorOptions.ValueFieldsStrategy ALL
-
EXCEPT_KEY
public static final KafkaConnectorOptions.ValueFieldsStrategy EXCEPT_KEY
-
-
Method Detail
-
values
public static KafkaConnectorOptions.ValueFieldsStrategy[] 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.ValueFieldsStrategy c : KafkaConnectorOptions.ValueFieldsStrategy.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.ValueFieldsStrategy 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
-
-