Class PslDataWriter (0.4.5)

publicclass PslDataWriterimplementsDataWriter<InternalRow>

Inheritance

java.lang.Object > PslDataWriter

Implements

org.apache.spark.sql.connector.write.DataWriter<org.apache.spark.sql.catalyst.InternalRow>

Constructors

PslDataWriter(long partitionId, long taskId, long epochId, StructType schema, PublisherFactory publisherFactory)

publicPslDataWriter(longpartitionId,longtaskId,longepochId,StructTypeschema,PublisherFactorypublisherFactory)
Parameters
Name Description
partitionId long
taskId long
epochId long
schema org.apache.spark.sql.types.StructType
publisherFactory PublisherFactory

Methods

abort()

publicsynchronizedvoidabort()

close()

publicvoidclose()
Exceptions
Type Description

commit()

publicsynchronizedWriterCommitMessagecommit()
Returns
Type Description
org.apache.spark.sql.connector.write.WriterCommitMessage
Exceptions
Type Description

write(InternalRow record)

publicsynchronizedvoidwrite(InternalRowrecord)
Parameter
Name Description
record org.apache.spark.sql.catalyst.InternalRow

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.