@NotThreadSafe public class HoodieUnboundedCreateHandle<T,I,K,O> extends HoodieCreateHandle<T,I,K,O>
Please use this with caution. This can end up creating very large files if not used correctly.
fileWriter, insertRecordsWritten, path, recordsDeleted, recordsWrittenfileId, newRecordLocation, partitionPath, recordMerger, schemaOnReadEnabled, taskContextSupplier, timer, writeSchema, writeSchemaWithMetaFields, writeStatus, writeTokenconfig, fs, hoodieTable, instantTime| Constructor and Description |
|---|
HoodieUnboundedCreateHandle(HoodieWriteConfig config,
String instantTime,
HoodieTable<T,I,K,O> hoodieTable,
String partitionPath,
String fileId,
TaskContextSupplier taskContextSupplier,
boolean preserveHoodieMetadata) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canWrite(HoodieRecord record)
Determines whether we can accept the incoming records, into the current file.
|
close, doWrite, getIOType, setupWriteStatus, writecreateLogWriter, createLogWriter, createLogWriter, createMarkerFile, getAttemptId, getConfig, getFileId, getFileSystem, getHoodieTableMetaClient, getPartitionId, getPartitionPath, getStageId, getWriterSchema, getWriterSchemaWithMetaFields, isClosed, makeNewFilePath, makeNewPath, markClosed, toAvroRecord, write, writeStatusespublic HoodieUnboundedCreateHandle(HoodieWriteConfig config, String instantTime, HoodieTable<T,I,K,O> hoodieTable, String partitionPath, String fileId, TaskContextSupplier taskContextSupplier, boolean preserveHoodieMetadata)
public boolean canWrite(HoodieRecord record)
HoodieWriteHandle- Whether it belongs to the same partitionPath as existing records - Whether the current file written bytes lt max file size
Copyright © 2023 The Apache Software Foundation. All rights reserved.