public class StreamingWriter
extends java.lang.Object
implements org.apache.spark.sql.sources.v2.writer.streaming.StreamWriter
| Modifier and Type | Method and Description |
|---|---|
void |
abort(long epochId,
org.apache.spark.sql.sources.v2.writer.WriterCommitMessage[] messages) |
void |
abort(org.apache.spark.sql.sources.v2.writer.WriterCommitMessage[] messages) |
void |
commit(long epochId,
org.apache.spark.sql.sources.v2.writer.WriterCommitMessage[] messages) |
void |
commit(org.apache.spark.sql.sources.v2.writer.WriterCommitMessage[] messages) |
protected void |
commitOperation(SnapshotUpdate<?> operation,
int numFiles,
java.lang.String description) |
org.apache.spark.sql.sources.v2.writer.DataWriterFactory<org.apache.spark.sql.catalyst.InternalRow> |
createWriterFactory() |
protected java.lang.Iterable<DataFile> |
files(org.apache.spark.sql.sources.v2.writer.WriterCommitMessage[] messages) |
protected Table |
table() |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic void commit(long epochId,
org.apache.spark.sql.sources.v2.writer.WriterCommitMessage[] messages)
commit in interface org.apache.spark.sql.sources.v2.writer.streaming.StreamWriterpublic void abort(long epochId,
org.apache.spark.sql.sources.v2.writer.WriterCommitMessage[] messages)
abort in interface org.apache.spark.sql.sources.v2.writer.streaming.StreamWriterpublic org.apache.spark.sql.sources.v2.writer.DataWriterFactory<org.apache.spark.sql.catalyst.InternalRow> createWriterFactory()
createWriterFactory in interface org.apache.spark.sql.sources.v2.writer.DataSourceWriterpublic void commit(org.apache.spark.sql.sources.v2.writer.WriterCommitMessage[] messages)
commit in interface org.apache.spark.sql.sources.v2.writer.DataSourceWriterprotected void commitOperation(SnapshotUpdate<?> operation, int numFiles, java.lang.String description)
public void abort(org.apache.spark.sql.sources.v2.writer.WriterCommitMessage[] messages)
abort in interface org.apache.spark.sql.sources.v2.writer.DataSourceWriterprotected Table table()
protected java.lang.Iterable<DataFile> files(org.apache.spark.sql.sources.v2.writer.WriterCommitMessage[] messages)
public java.lang.String toString()
toString in class java.lang.Object