RatePerMicroBatchTable¶
RatePerMicroBatchTable is a Table (Spark SQL) that SupportsRead (Spark SQL).
Creating Instance¶
RatePerMicroBatchTable takes the following to be created:
RatePerMicroBatchTable is created when:
RatePerMicroBatchProvideris 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¶
| 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).