/** * Returns a {@link SchemaBuilder} for an enumeration, with all other default Schema settings. * * @param allowedValues the comma separated list of allowed values; may not be null * @return the schema * @see #builder(String) */ public static Schema schema(String allowedValues) { return builder(allowedValues).build(); } }
return io.debezium.data.Enum.builder(commaSeperatedOptions);
/** * Returns a {@link SchemaBuilder} for an enumeration, with all other default Schema settings. * * @param allowedValues the comma separated list of allowed values; may not be null * @return the schema * @see #builder(String) */ public static Schema schema(String allowedValues) { return builder(allowedValues).build(); } }