Uses of Interface
org.apache.flink.connector.file.table.stream.compact.CompactWriter.Factory
Packages that use CompactWriter.Factory
Package
Description
-
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.FactoryModifierConstructorDescriptionBatchCompactOperator(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.FactoryModifier and TypeMethodDescriptionstatic <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.FactoryModifierConstructorDescriptionCompactOperator(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.FactoryModifier and TypeMethodDescriptionstatic <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.