Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Returns a DataSourceStreamReader instance for reading streaming data.
Added in Databricks Runtime 15.2
Syntax
streamReader(schema: StructType)
Parameters
| Parameter | Type | Description |
|---|---|---|
schema |
StructType | The schema of the data to be read. |
Returns
DataSourceStreamReader
A reader instance for this streaming data source.
Notes
One of simpleStreamReader() and streamReader() must be implemented for a readable streaming data source.