T - HoodieRecordPayloadpublic class HoodieBootstrapHandle<T,I,K,O> extends HoodieCreateHandle<T,I,K,O>
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
METADATA_BOOTSTRAP_RECORD_SCHEMA |
fileWriter, insertRecordsWritten, path, recordsDeleted, recordsWrittenfileId, newRecordLocation, partitionPath, recordMerger, schemaOnReadEnabled, taskContextSupplier, timer, writeSchema, writeSchemaWithMetaFields, writeStatus, writeTokenconfig, fs, hoodieTable, instantTime| Constructor and Description |
|---|
HoodieBootstrapHandle(HoodieWriteConfig config,
String commitTime,
HoodieTable<T,I,K,O> hoodieTable,
String partitionPath,
String fileId,
TaskContextSupplier taskContextSupplier) |
| 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 static final org.apache.avro.Schema METADATA_BOOTSTRAP_RECORD_SCHEMA
public HoodieBootstrapHandle(HoodieWriteConfig config, String commitTime, HoodieTable<T,I,K,O> hoodieTable, String partitionPath, String fileId, TaskContextSupplier taskContextSupplier)
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.