public class HoodieBulkInsertDataInternalWriterFactory extends Object implements org.apache.spark.sql.sources.v2.writer.DataWriterFactory<org.apache.spark.sql.catalyst.InternalRow>
HoodieBulkInsertDataInternalWriter.| Constructor and Description |
|---|
HoodieBulkInsertDataInternalWriterFactory(HoodieTable hoodieTable,
HoodieWriteConfig writeConfig,
String instantTime,
org.apache.spark.sql.types.StructType structType,
boolean populateMetaFields,
boolean arePartitionRecordsSorted) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.spark.sql.sources.v2.writer.DataWriter<org.apache.spark.sql.catalyst.InternalRow> |
createDataWriter(int partitionId,
long taskId,
long epochId) |
public HoodieBulkInsertDataInternalWriterFactory(HoodieTable hoodieTable, HoodieWriteConfig writeConfig, String instantTime, org.apache.spark.sql.types.StructType structType, boolean populateMetaFields, boolean arePartitionRecordsSorted)
public org.apache.spark.sql.sources.v2.writer.DataWriter<org.apache.spark.sql.catalyst.InternalRow> createDataWriter(int partitionId, long taskId, long epochId)
createDataWriter in interface org.apache.spark.sql.sources.v2.writer.DataWriterFactory<org.apache.spark.sql.catalyst.InternalRow>Copyright © 2022 The Apache Software Foundation. All rights reserved.