pyspark.streaming.DStream.filter

DStream。 过滤器 ( f:可调用的((T],bool] )→pyspark.streaming.dstream.DStream(T]

返回一个新的DStream只包含的元素满足谓词。