Skip to content

Commit

Permalink
[doc] Missing an import in flink-api.md (#3851)
Browse files Browse the repository at this point in the history
  • Loading branch information
guluo2016 authored Jul 30, 2024
1 parent 528ebcb commit eec2407
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/content/program-api/flink-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ See [DataStream API Integration](https://nightlies.apache.org/flink/flink-docs-s
```java
import org.apache.paimon.catalog.Catalog;
import org.apache.paimon.catalog.Identifier;
import org.apache.paimon.flink.FlinkCatalogFactory;
import org.apache.paimon.flink.sink.FlinkSinkBuilder;
import org.apache.paimon.options.Options;
import org.apache.paimon.table.Table;
Expand Down Expand Up @@ -129,6 +130,7 @@ public class WriteToTable {
```java
import org.apache.paimon.catalog.Catalog;
import org.apache.paimon.catalog.Identifier;
import org.apache.paimon.flink.FlinkCatalogFactory;
import org.apache.paimon.flink.source.FlinkSourceBuilder;
import org.apache.paimon.options.Options;
import org.apache.paimon.table.Table;
Expand Down Expand Up @@ -185,6 +187,7 @@ Here is an example to use `RichCdcSinkBuilder` API:
import org.apache.paimon.catalog.Catalog;
import org.apache.paimon.catalog.CatalogContext;
import org.apache.paimon.catalog.CatalogFactory;
import org.apache.paimon.flink.FlinkCatalogFactory;
import org.apache.paimon.catalog.Identifier;
import org.apache.paimon.flink.sink.cdc.RichCdcRecord;
import org.apache.paimon.flink.sink.cdc.RichCdcSinkBuilder;
Expand Down

0 comments on commit eec2407

Please sign in to comment.