Skip to content

SupportsWrite — Writable Tables

SupportsWrite is an extension of the Table abstraction for writable tables.

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 newWriteBuilder
  • AtomicTableWriteExec physical command is requested to writeToStagedTable
  • StreamExecution stream execution engine (Spark Structured Streaming) is requested to createStreamingWrite

Implementations

  • ConsoleTable (Spark Structured Streaming)
  • FileTable
  • ForeachWriterTable (Spark Structured Streaming)
  • KafkaTable
  • MemorySink (Spark Structured Streaming)
  • NoopTable
Back to top