Package org.apache.iceberg.flink.sink
Class FlinkManifestUtil
java.lang.Object
org.apache.iceberg.flink.sink.FlinkManifestUtil
- 
Method SummaryModifier and TypeMethodDescriptionstatic ManifestOutputFileFactorycreateOutputFileFactory(Supplier<Table> tableSupplier, Map<String, String> tableProps, String flinkJobId, String operatorUniqueId, int subTaskId, long attemptNumber) static voiddeleteCommittedManifests(Table table, List<ManifestFile> manifests, String newFlinkJobId, long checkpointId) static WriteResultreadCompletedFiles(DeltaManifests deltaManifests, FileIO io, Map<Integer, PartitionSpec> specsById) static DeltaManifestswriteCompletedFiles(WriteResult result, Supplier<OutputFile> outputFileSupplier, PartitionSpec spec) Write theWriteResultto temporary manifest files.
- 
Method Details- 
createOutputFileFactory
- 
writeCompletedFilespublic static DeltaManifests writeCompletedFiles(WriteResult result, Supplier<OutputFile> outputFileSupplier, PartitionSpec spec) throws IOException Write theWriteResultto temporary manifest files.- Parameters:
- result- all those DataFiles/DeleteFiles in this WriteResult should be written with same partition spec
- Throws:
- IOException
 
- 
readCompletedFilespublic static WriteResult readCompletedFiles(DeltaManifests deltaManifests, FileIO io, Map<Integer, PartitionSpec> specsById) throws IOException- Throws:
- IOException
 
- 
deleteCommittedManifestspublic static void deleteCommittedManifests(Table table, List<ManifestFile> manifests, String newFlinkJobId, long checkpointId) 
 
-