/** * Gets the number of documents to return per batch. Default to 0, which indicates that the server chooses an appropriate batch * size. * * @return the batch size, which may be null * @mongodb.driver.manual reference/method/cursor.batchSize/#cursor.batchSize Batch Size */ public int getBatchSize() { return options.getBatchSize(); }
/** * Gets the batch size. * * @return the batch size */ public int getBatchSize() { return findOptions.getBatchSize(); }
DBCollectionFindOptions that = those.getOptions(); if (dbOptions.getBatchSize() != that.getBatchSize()) { return false;
.collation(collation).getOptions(); assertEquals(42, options.getBatchSize()); assertEquals(18, options.getLimit()); assertEquals(new BasicDBObject("i'm a", "modifier")
FindOperation<DBObject> operation = new FindOperation<DBObject>(collection.getNamespace(), decoder) .filter(collection.wrapAllowNull(filter)) .batchSize(findOptions.getBatchSize()) .skip(findOptions.getSkip()) .limit(findOptions.getLimit())
/** * Gets the number of documents to return per batch. Default to 0, which indicates that the server chooses an appropriate batch * size. * * @return the batch size, which may be null * @mongodb.driver.manual reference/method/cursor.batchSize/#cursor.batchSize Batch Size */ public int getBatchSize() { return options.getBatchSize(); }
/** * Gets the batch size. * * @return the batch size */ public int getBatchSize() { return findOptions.getBatchSize(); }
DBCollectionFindOptions that = those.getOptions(); if (dbOptions.getBatchSize() != that.getBatchSize()) { return false;
FindOperation<DBObject> operation = new FindOperation<DBObject>(collection.getNamespace(), decoder) .filter(collection.wrapAllowNull(filter)) .batchSize(findOptions.getBatchSize()) .skip(findOptions.getSkip()) .limit(findOptions.getLimit())