SupportsWrite¶
SupportsWrite
is an extension of the Table abstraction for tables that are writable.
Contract¶
newWriteBuilder¶
WriteBuilder newWriteBuilder(
LogicalWriteInfo info)
Creates a WriteBuilder for writing (batch and streaming)
Used when:
V1FallbackWriters
physical operator is requested to newWriteBuilder- CreateTableAsSelectExec, ReplaceTableAsSelectExec physical commands are executed
BatchWriteHelper
physical operator is requested to newWriteBuilderAtomicTableWriteExec
physical command is requested to writeToStagedTableStreamExecution
stream execution engine (Spark Structured Streaming) is requested tocreateStreamingWrite
Implementations¶
- ConsoleTable (Spark Structured Streaming)
- FileTable
- ForeachWriterTable (Spark Structured Streaming)
- KafkaTable
- MemorySink (Spark Structured Streaming)
- NoopTable
Last update: 2020-11-12