| 程序包 | 说明 |
|---|---|
| org.apache.flink.connector.file.table.stream | |
| org.apache.flink.connector.file.table.stream.compact |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> org.apache.flink.streaming.api.datastream.DataStream<PartitionCommitInfo> |
StreamingSink.compactionWriter(org.apache.flink.table.connector.ProviderContext providerContext,
org.apache.flink.streaming.api.datastream.DataStream<T> inputStream,
long bucketCheckInterval,
org.apache.flink.streaming.api.functions.sink.filesystem.StreamingFileSink.BucketsBuilder<T,String,? extends org.apache.flink.streaming.api.functions.sink.filesystem.StreamingFileSink.BucketsBuilder<T,String,?>> bucketsBuilder,
FileSystemFactory fsFactory,
org.apache.flink.core.fs.Path path,
CompactReader.Factory<T> readFactory,
long targetFileSize,
int parallelism)
Create a file writer with compaction operators by input stream.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> CompactReader.Factory<T> |
CompactBulkReader.factory(BulkFormat<T,FileSourceSplit> format) |
static <T> CompactReader.Factory<T> |
FileInputFormatCompactReader.factory(org.apache.flink.api.common.io.FileInputFormat<T> format) |
| 构造器和说明 |
|---|
CompactOperator(org.apache.flink.util.function.SupplierWithException<org.apache.flink.core.fs.FileSystem,IOException> fsFactory,
CompactReader.Factory<T> readerFactory,
CompactWriter.Factory<T> writerFactory) |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.