/** * Returns a {@link SchemaBuilder} for a set of enumerated values, 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.EnumSet.builder(commaSeperatedOptions);
/** * Returns a {@link SchemaBuilder} for a set of enumerated values, 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(); } }