addData(
data: TraversableOnce[A]): Offset
MemoryStreamBase Contract — Base Contract for Memory Sources
MemoryStreamBase
is the base of the BaseStreamingSource contract for memory sources that can add data.
Method | Description |
---|---|
|
|
|
|
MemoryStreamBase | Description |
---|---|
Creating MemoryStreamBase Instance
MemoryStreamBase
takes the following to be created:
Note
|
MemoryStreamBase is a Scala abstract class and cannot be created directly. It is created indirectly for the concrete MemoryStreamBases.
|
Creating Streaming Dataset — toDS
Method
toDS(): Dataset[A]
toDS
simply creates a Dataset
(for the sqlContext and the logicalPlan)
Creating Streaming DataFrame — toDF
Method
toDF(): DataFrame
toDF
simply creates a Dataset
of rows (for the sqlContext and the logicalPlan)
Internal Properties
Name | Description |
---|---|
|
Schema attributes of the encoder ( Used when…FIXME |
|