Apache spark 火花流:countByValueAndWindow()和countByWindow()之间有什么区别?
我试图理解Spark流中Spark数据流上的窗口转换 有人能给出一个实时或清晰的例子来区分Apache spark 火花流:countByValueAndWindow()和countByWindow()之间有什么区别?,apache-spark,spark-streaming,Apache Spark,Spark Streaming,我试图理解Spark流中Spark数据流上的窗口转换 有人能给出一个实时或清晰的例子来区分countByWindow()和countByValueAndWindow() 什么时候用什么
countByWindow()
和countByValueAndWindow()
什么时候用什么