Skip to content

RatePerMicroBatchTable

RatePerMicroBatchTable is a Table (Spark SQL) that SupportsRead (Spark SQL).

Creating Instance

RatePerMicroBatchTable takes the following to be created:

RatePerMicroBatchTable is created when:

  • RatePerMicroBatchProvider is requested for the table

Table Capabilities

Table
capabilities(): Set[TableCapability]

capabilities is part of the Table (Spark SQL) abstraction.

capabilities is exactly MICRO_BATCH_READ table capability.

Schema

Table
schema(): StructType

schema is part of the Table (Spark SQL) abstraction.

Name Data Type
timestamp TimestampType
value LongType

Create ScanBuilder

SupportsRead
newScanBuilder(
  options: CaseInsensitiveStringMap): ScanBuilder

newScanBuilder is part of the SupportsRead (Spark SQL) abstraction.

newScanBuilder creates a new Scan (Spark SQL) that creates a RatePerMicroBatchStream when requested for a MicroBatchStream (Spark SQL).