Skip to content

SupportsRead

SupportsRead is an extension of the Table abstraction for readable tables.

Contract

Creating ScanBuilder

ScanBuilder newScanBuilder(
  CaseInsensitiveStringMap options)

Creates a ScanBuilder

Used when:

  • DataSourceV2Relation logical operator is requested to computeStats
  • V2ScanRelationPushDown logical optimization is executed
  • MicroBatchExecution (Spark Structured Streaming) is requested for a logical query plan
  • ContinuousExecution (Spark Structured Streaming) is created (and initializes a logical query plan)

Implementations

  • FileTable
  • KafkaTable
  • MemoryStreamTable (Spark Structured Streaming)
  • RateStreamTable (Spark Structured Streaming)
  • TextSocketTable (Spark Structured Streaming)

Last update: 2020-11-08