public class NoOpDataWriterContext extends Object implements DataWriterContext<org.apache.spark.sql.catalyst.InternalRow>
| Constructor and Description |
|---|
NoOpDataWriterContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
void |
close() |
WriterCommitMessageContext |
commit() |
void |
write(org.apache.spark.sql.catalyst.InternalRow record) |
public void write(org.apache.spark.sql.catalyst.InternalRow record)
throws IOException
write in interface DataWriterContext<org.apache.spark.sql.catalyst.InternalRow>IOExceptionpublic WriterCommitMessageContext commit() throws IOException
commit in interface DataWriterContext<org.apache.spark.sql.catalyst.InternalRow>IOExceptionpublic void abort()
throws IOException
abort in interface DataWriterContext<org.apache.spark.sql.catalyst.InternalRow>IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2024. All rights reserved.