我想在Mongodb中查询大集合,并尝试使用流com.mongodb.connection.Stream。我在springboot中使用MongoRepository来做这件事。我得到了Stream<Population> findAllStates(String state);方法的错误Type 'com.mongodb.connection.Stream' do
address; String city; ---- lot of other fields我有Office类的mongo集合,上面的Office类表示了100个Office文档。Employee{ String lastName; -----other fields在Employee类的mongo集合中,我如何</