MongoDB -Überprüfung, ob das Feld java existiert

DBObject query;
query = new BasicDBObject("fields_name", new BasicDBObject("$exists", true));
DBCursor result = collection.find(query);
Karamolegkos