public class HoodieBulkInsertDataInternalWriterFactory extends Object implements org.apache.spark.sql.sources.v2.writer.DataWriterFactory<org.apache.spark.sql.catalyst.InternalRow>
HoodieBulkInsertDataInternalWriter.| 构造器和说明 |
|---|
HoodieBulkInsertDataInternalWriterFactory(HoodieTable hoodieTable,
HoodieWriteConfig writeConfig,
String instantTime,
org.apache.spark.sql.types.StructType structType,
boolean populateMetaFields,
boolean arePartitionRecordsSorted) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 org.apache.spark.sql.sources.v2.writer.DataWriterFactory<org.apache.spark.sql.catalyst.InternalRow>Copyright © 2023 The Apache Software Foundation. All rights reserved.