List of usage examples for com.mongodb.client.model Aggregates skip
public static Bson skip(final int skip)
From source file:org.opencb.commons.datastore.mongodb.MongoDBQueryUtils.java
License:Apache License
public static Bson getSkip(QueryOptions options) { if (options.getInt(QueryOptions.SKIP) > 0) { return Aggregates.skip(options.getInt(QueryOptions.SKIP)); }//from w w w .j a va 2 s .c o m return null; }