Uses of Interface
org.apache.flink.connector.file.table.stream.compact.CompactWriter.Factory
-
-
Uses of CompactWriter.Factory in org.apache.flink.connector.file.table.batch.compact
Constructors in org.apache.flink.connector.file.table.batch.compact with parameters of type CompactWriter.Factory Constructor Description BatchCompactOperator(org.apache.flink.util.function.SupplierWithException<org.apache.flink.core.fs.FileSystem,IOException> fsFactory, CompactReader.Factory<T> readerFactory, CompactWriter.Factory<T> writerFactory) -
Uses of CompactWriter.Factory in org.apache.flink.connector.file.table.stream.compact
Methods in org.apache.flink.connector.file.table.stream.compact that return CompactWriter.Factory Modifier and Type Method Description static <T> CompactWriter.Factory<T>CompactBucketWriter. factory(org.apache.flink.util.function.SupplierWithException<org.apache.flink.streaming.api.functions.sink.filesystem.BucketWriter<T,String>,IOException> factory)Constructors in org.apache.flink.connector.file.table.stream.compact with parameters of type CompactWriter.Factory Constructor Description CompactOperator(org.apache.flink.util.function.SupplierWithException<org.apache.flink.core.fs.FileSystem,IOException> fsFactory, CompactReader.Factory<T> readerFactory, CompactWriter.Factory<T> writerFactory) -
Uses of CompactWriter.Factory in org.apache.flink.connector.file.table.utils
Methods in org.apache.flink.connector.file.table.utils with parameters of type CompactWriter.Factory Modifier and Type Method Description static <T> org.apache.flink.core.fs.PathCompactFileUtils. doCompact(org.apache.flink.core.fs.FileSystem fileSystem, String partition, List<org.apache.flink.core.fs.Path> paths, org.apache.flink.core.fs.Path target, org.apache.flink.configuration.Configuration config, CompactReader.Factory<T> readerFactory, CompactWriter.Factory<T> writerFactory)Do Compaction: - Target file exists, do nothing. - Can do compaction: - Single file, do atomic renaming, there are optimizations for FileSystem. - Multiple file, do reading and writing.
-