The Spark implementation of this will actually be a call to RDD:filter.