Class PslDataWriterFactory (0.3.4)

public class PslDataWriterFactory implements Serializable, DataWriterFactory<InternalRow>

Inheritance

java.lang.Object > PslDataWriterFactory

Implements

Serializable, org.apache.spark.sql.sources.v2.writer.DataWriterFactory<org.apache.spark.sql.catalyst.InternalRow>

Constructors

PslDataWriterFactory(StructType inputSchema, PslWriteDataSourceOptions writeOptions)

public PslDataWriterFactory(StructType inputSchema, PslWriteDataSourceOptions writeOptions)
Parameters
NameDescription
inputSchemaorg.apache.spark.sql.types.StructType
writeOptionsPslWriteDataSourceOptions

Methods

createDataWriter(int partitionId, long taskId, long epochId)

public DataWriter<InternalRow> createDataWriter(int partitionId, long taskId, long epochId)
Parameters
NameDescription
partitionIdint
taskIdlong
epochIdlong
Returns
TypeDescription
org.apache.spark.sql.sources.v2.writer.DataWriter<org.apache.spark.sql.catalyst.InternalRow>