Skip to content

Commit

Permalink
clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
giwa committed Aug 31, 2014
1 parent 67473a9 commit 4afa390
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,13 @@ class PythonForeachDStream(

/**
* This is a input stream just for the unitest. This is equivalent to a checkpointable,
* replayable, reliable message queue like Kafka. It requires a sequence as input, and
* returns the i_th element at the i_th batch under manual clock.
* replayable, reliable message queue like Kafka. It requires a JArrayList input of JavaRDD,
* and returns the i_th element at the i_th batch under manual clock.
*/

class PythonTestInputStream(ssc_ : JavaStreamingContext, inputRDDs: JArrayList[JavaRDD[Array[Byte]]])
class PythonTestInputStream(
ssc_ : JavaStreamingContext,
inputRDDs: JArrayList[JavaRDD[Array[Byte]]])
extends InputDStream[Array[Byte]](JavaStreamingContext.toStreamingContext(ssc_)) {

def start() {}
Expand Down

0 comments on commit 4afa390

Please sign in to comment.