public class DataSourceWriterContextPartitionHandler extends Object implements org.apache.spark.api.java.function.Function2<Integer,Iterator<org.apache.spark.sql.Row>,Iterator<WriterCommitMessageContext>>, Serializable
| Constructor and Description |
|---|
DataSourceWriterContextPartitionHandler(DataWriterContextFactory dataWriterContextFactory,
long epoch) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<WriterCommitMessageContext> |
call(Integer partitionId,
Iterator<org.apache.spark.sql.Row> rowIterator) |
public DataSourceWriterContextPartitionHandler(DataWriterContextFactory dataWriterContextFactory, long epoch)
public Iterator<WriterCommitMessageContext> call(Integer partitionId, Iterator<org.apache.spark.sql.Row> rowIterator) throws Exception
call in interface org.apache.spark.api.java.function.Function2<Integer,Iterator<org.apache.spark.sql.Row>,Iterator<WriterCommitMessageContext>>ExceptionCopyright © 2024. All rights reserved.