Class CompactBucketWriter<T>
java.lang.Object
org.apache.flink.connector.file.table.stream.compact.CompactBucketWriter<T>
- All Implemented Interfaces:
CompactWriter<T>
The
CompactWriter to delegate BucketWriter.-
Method Summary
Modifier and TypeMethodDescriptionvoidcommit()Commits the pending file, making it visible.static <T> CompactWriter.Factory<T>factory(org.apache.flink.util.function.SupplierWithException<org.apache.flink.streaming.api.functions.sink.filesystem.BucketWriter<T, String>, IOException> factory) void
-
Method Details
-
write
- Specified by:
writein interfaceCompactWriter<T>- Throws:
IOException
-
commit
Description copied from interface:CompactWriterCommits the pending file, making it visible.- Specified by:
commitin interfaceCompactWriter<T>- Throws:
IOException
-
factory
public static <T> CompactWriter.Factory<T> factory(org.apache.flink.util.function.SupplierWithException<org.apache.flink.streaming.api.functions.sink.filesystem.BucketWriter<T, String>, IOException> factory)
-