public class LanceDataWriter extends Object implements org.apache.spark.sql.connector.write.DataWriter<org.apache.spark.sql.catalyst.InternalRow>
| Modifier and Type | Class and Description |
|---|---|
static class |
LanceDataWriter.WriterFactory |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
void |
close() |
org.apache.spark.sql.connector.write.WriterCommitMessage |
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 org.apache.spark.sql.connector.write.DataWriter<org.apache.spark.sql.catalyst.InternalRow>IOExceptionpublic org.apache.spark.sql.connector.write.WriterCommitMessage commit()
throws IOException
commit in interface org.apache.spark.sql.connector.write.DataWriter<org.apache.spark.sql.catalyst.InternalRow>IOExceptionpublic void abort()
throws IOException
abort in interface org.apache.spark.sql.connector.write.DataWriter<org.apache.spark.sql.catalyst.InternalRow>IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2025. All rights reserved.