public class DeltaWriteProfile extends WriteProfile
Note: assumes the index can always index log files for Flink write.
config, fsView, metaClient| Constructor and Description |
|---|
DeltaWriteProfile(HoodieWriteConfig config,
HoodieFlinkEngineContext context) |
| Modifier and Type | Method and Description |
|---|---|
long |
convertLogFilesSizeToExpectedParquetSize(List<HoodieLogFile> hoodieLogFiles) |
protected SyncableFileSystemView |
getFileSystemView() |
protected List<SmallFile> |
smallFilesProfile(String partitionPath)
Returns a list of small files in the given partition path from the latest filesystem view.
|
getAvgSize, getMetaClient, getMetadataCache, getRecordsPerBucket, getSmallFiles, getTable, reloadpublic DeltaWriteProfile(HoodieWriteConfig config, HoodieFlinkEngineContext context)
protected List<SmallFile> smallFilesProfile(String partitionPath)
WriteProfilesmallFilesProfile in class WriteProfileprotected SyncableFileSystemView getFileSystemView()
getFileSystemView in class WriteProfilepublic long convertLogFilesSizeToExpectedParquetSize(List<HoodieLogFile> hoodieLogFiles)
Copyright © 2023 The Apache Software Foundation. All rights reserved.