Можете да опитате нещо подобно.
import static com.mongodb.client.model.Projections.excludeId;
FindIterable<Document> resultSet = db.getCollection("document").find(query).projection(excludeId());
Изключване на други полета
import static com.mongodb.client.model.Projections.fields;
FindIterable<Document> resultSet = db.getCollection("document").find(query).projection(
fields(exclude("fieldname", "fieldvalue")));
За пълен списък с прогнози.
http://api.mongodb.com/ java/3.0/?com/mongodb/client/model/Projections.html http://mongodb.github.io/mongo-java- driver/3.0/builders/projections/