public class EnumSet extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
LOGICAL_NAME |
static String |
VALUES_FIELD |
| Constructor and Description |
|---|
EnumSet() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.kafka.connect.data.SchemaBuilder |
builder(String allowedValues)
Returns a
SchemaBuilder for a set of enumerated values. |
static org.apache.kafka.connect.data.Schema |
schema(String allowedValues)
Returns a
SchemaBuilder for a set of enumerated values, with all other default Schema settings. |
public static final String LOGICAL_NAME
public static final String VALUES_FIELD
public static org.apache.kafka.connect.data.SchemaBuilder builder(String allowedValues)
SchemaBuilder 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.allowedValues - the comma separated list of allowed values; may not be nullpublic static org.apache.kafka.connect.data.Schema schema(String allowedValues)
SchemaBuilder for a set of enumerated values, with all other default Schema settings.allowedValues - the comma separated list of allowed values; may not be nullbuilder(String)Copyright © 2021 JBoss by Red Hat. All rights reserved.