public class SingleFileHandleCreateFactory<T,I,K,O> extends CreateHandleFactory<T,I,K,O> implements Serializable
Please use this with caution. This can end up creating very large files if not used correctly.
| Constructor and Description |
|---|
SingleFileHandleCreateFactory(String fileId,
boolean preserveHoodieMetadata) |
| Modifier and Type | Method and Description |
|---|---|
HoodieWriteHandle<T,I,K,O> |
create(HoodieWriteConfig hoodieConfig,
String commitTime,
HoodieTable<T,I,K,O> hoodieTable,
String partitionPath,
String fileIdPrefix,
TaskContextSupplier taskContextSupplier) |
getNextFileIdpublic SingleFileHandleCreateFactory(String fileId, boolean preserveHoodieMetadata)
public HoodieWriteHandle<T,I,K,O> create(HoodieWriteConfig hoodieConfig, String commitTime, HoodieTable<T,I,K,O> hoodieTable, String partitionPath, String fileIdPrefix, TaskContextSupplier taskContextSupplier)
Copyright © 2023 The Apache Software Foundation. All rights reserved.