Package io.debezium.jdbc
Enum TemporalPrecisionMode
- All Implemented Interfaces:
EnumeratedValue
,Serializable
,Comparable<TemporalPrecisionMode>
The set of predefined TemporalPrecisionMode options.
-
Enum Constant Summary
Enum ConstantDescriptionRepresent time and date values based upon the resolution in the database, usingio.debezium.time
semantic types.Represent timestamp, datetime and date values based upon the resolution in the database, usingio.debezium.time
semantic types.Represent time and date values using Kafka Connectorg.apache.kafka.connect.data
logical types, which always have millisecond precision. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()
Returns the string representation of this valuestatic TemporalPrecisionMode
Determine if the supplied value is one of the predefined options.static TemporalPrecisionMode
Determine if the supplied value is one of the predefined options.static TemporalPrecisionMode
Returns the enum constant of this type with the specified name.static TemporalPrecisionMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ADAPTIVE
Represent time and date values based upon the resolution in the database, usingio.debezium.time
semantic types. -
ADAPTIVE_TIME_MICROSECONDS
Represent timestamp, datetime and date values based upon the resolution in the database, usingio.debezium.time
semantic types. TIME fields will always be represented as microseconds in INT64 /Long
usingMicroTime
-
CONNECT
Represent time and date values using Kafka Connectorg.apache.kafka.connect.data
logical types, which always have millisecond precision.
-
-
Field Details
-
value
-
-
Constructor Details
-
TemporalPrecisionMode
-
-
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
-
parse
Determine if the supplied value is one of the predefined options.- Parameters:
value
- the configuration property value; may not be null- Returns:
- the matching option, or null if no match is found
-
parse
Determine if the supplied value is one of the predefined options.- Parameters:
value
- the configuration property value; may not be nulldefaultValue
- the default value; may be null- Returns:
- the matching option, or null if no match is found and the non-null default is invalid
-