@Internal public class CompactBucketWriter<T> extends Object implements CompactWriter<T>
CompactWriter to delegate BucketWriter.| Modifier and Type | Method and Description |
|---|---|
void |
commit()
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 |
write(T record) |
public void write(T record) throws IOException
write in interface CompactWriter<T>IOExceptionpublic void commit()
throws IOException
CompactWritercommit in interface CompactWriter<T>IOExceptionpublic 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)
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.