public interface HoodieFileWriter<R extends org.apache.avro.generic.IndexedRecord>
| Modifier and Type | Method and Description |
|---|---|
boolean |
canWrite() |
void |
close() |
default void |
prepRecordWithMetadata(HoodieKey key,
R avroRecord,
String instantTime,
Integer partitionId,
AtomicLong recordIndex,
String fileName) |
void |
writeAvro(String key,
R oldRecord) |
void |
writeAvroWithMetadata(HoodieKey key,
R newRecord) |
void writeAvroWithMetadata(HoodieKey key, R newRecord) throws IOException
IOExceptionboolean canWrite()
void close()
throws IOException
IOExceptionvoid writeAvro(String key, R oldRecord) throws IOException
IOExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.