next(): InternalRow
ContinuousQueuedDataReader
ContinuousQueuedDataReader
is created exclusively when ContinuousDataSourceRDD
is requested to compute a partition.
ContinuousQueuedDataReader
uses two types of continuous records:
Closing ContinuousQueuedDataReader — close
Method
close(): Unit
Note
|
close is part of the java.io.Closeable to close this stream and release any system resources associated with it.
|
close
…FIXME
Creating ContinuousQueuedDataReader Instance
ContinuousQueuedDataReader
takes the following to be created:
-
Size of the data queue
ContinuousQueuedDataReader
initializes the internal properties.
Internal Properties
Name | Description |
---|---|
|
|
|
|
|
DataReaderThread daemon thread that is created and started immediately when Used when…FIXME |
|
Used when…FIXME |
|
Used when…FIXME |
|
Used when…FIXME |
|
|
|
java.util.concurrent.ArrayBlockingQueue of ContinuousRecords (of the given data size) Used when…FIXME |