Interface TableSchemaPublisher
-
- All Superinterfaces:
java.lang.AutoCloseable
public interface TableSchemaPublisher extends java.lang.AutoCloseableInterface representing a CDC schema publisher.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTableSchemaPublisher.SchemaPublishMetadata
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidclose()PublishSchemaResultpublishSchema(java.lang.String schema, TableSchemaPublisher.SchemaPublishMetadata metadata)Publishes the schema producing a result.
-
-
-
Method Detail
-
publishSchema
PublishSchemaResult publishSchema(java.lang.String schema, TableSchemaPublisher.SchemaPublishMetadata metadata)
Publishes the schema producing a result.- Parameters:
schema- A string containing a valid schema.metadata- All the needed metadata associated to the schema.- Returns:
- The publishing result.
-
close
default void close()
- Specified by:
closein interfacejava.lang.AutoCloseable
-
-