Details
-
Question
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
2.4.0
-
None
-
None
-
Linux, standalone spark
Description
Hi. I am in need to slice a DStream that receives data from a custom receiver (implemented with Spark's Receiver). There are two options to do this
1. slice(fromTime: Time, toTime: Time)
2. slice(interval: Interval)
Although the second option is a public method, the Interval class is private. Can you please help me understand how to use this api with org.apache.spark.streaming.Interval ?
Thanks, Aarthi