Package io.debezium.data
Class EnumSet
java.lang.Object
io.debezium.data.EnumSet
A semantic type for a set of enumerated values, where the string values contain comma-separated values from an enumeration.
- Author:
- Randall Hauch
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.kafka.connect.data.SchemaBuilder
Returns aSchemaBuilder
for a set of enumerated values.static org.apache.kafka.connect.data.SchemaBuilder
Returns aSchemaBuilder
for a set of enumerated values.static org.apache.kafka.connect.data.Schema
Returns aSchema
for a set of enumerated values, with all other default Schema settings.static org.apache.kafka.connect.data.Schema
Returns aSchema
for a set of enumerated values, with all other default Schema settings.
-
Field Details
-
LOGICAL_NAME
- See Also:
-
VALUES_FIELD
- See Also:
-
-
Constructor Details
-
EnumSet
public EnumSet()
-
-
Method Details
-
builder
Returns aSchemaBuilder
for a set of enumerated values. You can use the resulting SchemaBuilder to set additional schema settings such as required/optional, default value, and documentation.- Parameters:
allowedValues
- the comma separated list of allowed values; may not be null- Returns:
- the schema builder
-
builder
Returns aSchemaBuilder
for a set of enumerated values. You can use the resulting SchemaBuilder to set additional schema settings such as required/optional, default value, and documentation.- Parameters:
allowedValues
- the list of allowed values; may not be null- Returns:
- the schema builder
-
schema
Returns aSchema
for a set of enumerated values, with all other default Schema settings.- Parameters:
allowedValues
- the comma separated list of allowed values; may not be null- Returns:
- the schema
- See Also:
-
schema
Returns aSchema
for a set of enumerated values, with all other default Schema settings.- Parameters:
allowedValues
- the list of allowed values; may not be null- Returns:
- the schema
- See Also:
-