* Synonym for {@link #orderBy(String...)} * * @param sortFields * sort expression * @return {@link FindStatement} */ FindStatement sort(String... sortFields); /** * Add/replace the document offset for this query. * * @param limitOffset * number of documents to skip * @return {@link FindStatement} */ FindStatement skip(long limitOffset); /** * Add/replace the document limit for this query. * * @param numberOfRows * limit * @return {@link FindStatement} */ FindStatement limit(long numberOfRows); /** * Locks matching rows against updates. * * @return {@link FindStatement} */ FindStatement lockShared(); /** * Locks matching rows against updates using the provided lock contention option. * * @param lockContention * The {@link LockContention} value to set. * @return {@link FindStatement} */ FindStatement lockShared(LockContention lockContention); /** * Locks matching rows exclusively so no other transactions can read or write to them. * * @return {@link FindStatement} */ FindStatement lockExclusive(); /** * Locks matching rows exclusively so no other transactions can read or write to them, using the provided lock contention option. * * @param lockContention * The {@link LockContention} value to set. * @return {@link FindStatement} */ FindStatement lockExclusive(LockContention lockContention); }